Avatar of WellingtonIS

asked on 

Need to create and add a user then add to the local administrators account

I need a script or command to create a local user and add it to the local administrator's group on remote machines.  Can this be done?  I can not do this via GPO because it's blocked so I need a back door.

I have this so far net user /add account password
net localgroup administrators account /add
Powershell* batfileWindows 10

Avatar of undefined
Last Comment

8/22/2022 - Mon