Open
Description
Prerequisites
- Write a descriptive title.
- Make sure you are able to repro it on the latest released version
- Search the existing issues.
Steps to reproduce
When running Get-PSResource
without parameters, it searches resources only from CurrentUser scope. There is no default value in documentation.
The cmdlet should return resources from all scopes by default. Or the default value should be clearly documented.
Expected behavior
PS ❯ Get-PSResource
# all resources returned
Actual behavior
PS ❯ Get-PSResource
# only resources in CurrentUser scope returned
Error details
No response
Environment data
ModuleType Version PreRelease Name ExportedCommands
---------- ------- ---------- ---- ----------------
Binary 3.0.20 beta20 PowerShellGet {Find-PSResource, Get-PSResource, Get-PSResourceRepository, Ge…
Name Value
---- -----
PSVersion 7.3.4
PSEdition Core
GitCommitId 7.3.4
OS Microsoft Windows 10.0.19044
Platform Win32NT
PSCompatibleVersions {1.0, 2.0, 3.0, 4.0…}
PSRemotingProtocolVersion 2.3
SerializationVersion 1.1.0.1
WSManStackVersion 3.0
Visuals
No response