powershell-commands-add-admin
Differences
This shows you the differences between two versions of the page.
| powershell-commands-add-admin [2025/04/17 14:30] – created jsanders | powershell-commands-add-admin [2025/05/15 14:38] (current) – [Command] jsanders | ||
|---|---|---|---|
| Line 3: | Line 3: | ||
| ==== Command ==== | ==== Command ==== | ||
| + | $NewUser = Read-Host | ||
| $Password = Read-Host -AsSecureString | $Password = Read-Host -AsSecureString | ||
| - | New-LocalUser | + | New-LocalUser |
| - | Add-LocalGroupMember -Group " | + | Add-LocalGroupMember -Group " |
| - | //Be sure to replace " | + | |
| ==== Reference ==== | ==== Reference ==== | ||
| https:// | https:// | ||
powershell-commands-add-admin.1744914611.txt.gz · Last modified: by jsanders
