Glam Prestige Journal

Bright entertainment trends with youth appeal.

How can I list local groups?

PS C:\Users\thufir>
PS C:\Users\thufir> Get-WMIObject win32_operatingsystem
SystemDirectory : C:\WINDOWS\system32
Organization : Microsoft
BuildNumber : 17134
RegisteredUser : thufir
SerialNumber : 00330-62820-00000-AAOEM
Version : 10.0.17134
PS C:\Users\thufir>
PS C:\Users\thufir> get-LocalGroupMember
get-LocalGroupMember : The term 'get-LocalGroupMember' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path
was included, verify that the path is correct and try again.
At line:1 char:1
+ get-LocalGroupMember
+ ~~~~~~~~~~~~~~~~~~~~ + CategoryInfo : ObjectNotFound: (get-LocalGroupMember:String) [], CommandNotFoundException + FullyQualifiedErrorId : CommandNotFoundException
PS C:\Users\thufir>
PS C:\Users\thufir> get-LocalGroup
get-LocalGroup : The term 'get-LocalGroup' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was
included, verify that the path is correct and try again.
At line:1 char:1
+ get-LocalGroup
+ ~~~~~~~~~~~~~~ + CategoryInfo : ObjectNotFound: (get-LocalGroup:String) [], CommandNotFoundException + FullyQualifiedErrorId : CommandNotFoundException
PS C:\Users\thufir>
PS C:\Users\thufir>

Running compmgmt.msc will bring up a GUI listing local users and groups, of course. This is from a Surface 3.

I've tried solutions from:

------edit-------------

looks to be configuration issue as discussed in the comments:

PS C:\Users\thufir> PS C:\Users\thufir> PS C:\Users\thufir> PS C:\Users\thufir> Get-LocalGroup -Name "Administrators" Get-LocalGroup : The term 'Get-LocalGroup' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again. At line:1 char:1 + Get-LocalGroup -Name "Administrators" + ~~~~~~~~~~~~~~ + CategoryInfo : ObjectNotFound: (Get-LocalGroup:String) [], CommandNotFoundException + FullyQualifiedErrorId : CommandNotFoundException

PS C:\Users\thufir> PS C:\Users\thufir> PS C:\Users\thufir> PS C:\Users\thufir>

7 Reset to default

Know someone who can answer? Share a link to this question via email, Twitter, or Facebook.

Your Answer

Sign up or log in

Sign up using Google Sign up using Facebook Sign up using Email and Password

Post as a guest

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy