#How do I obtain a list of the local users via powershell?

2 messages · Page 1 of 1 (latest)

jaunty kettle
#

I’m trying to obtain a list of users with acess to the computer, showing if they are an admin or just a user

I asked chatGPT for help but it provided useless answers such as Get-localusers (not exact) which didn’t work as a command when i inputted them into my powershell script, the command didn’t work. Any help would be appreciated!

wraith moss
#

What was the exact error