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!