Why does Get-PSResource require -scope AllUsers #2011
mcdonamw-ews
started this conversation in
General
Replies: 1 comment
-
|
That is why an Get-PSResource Az -Scope AllUsersThis differs from the mental model many people have from |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
When I run Get-Module, if I do not specify the -Scope parameter it pulls modules both in currentuser and allusers scopes. Get-PSResource appears to only pull currentuser if no scope is specified. I have to specify -Scope AllUsers in order to list resources in all user scope. Why is this?
I can't find any information about this being required.
Beta Was this translation helpful? Give feedback.
All reactions