Differences
This shows you the differences between two versions of the page.
powershell-commands-add-to-admin-group [2025/09/22 17:54] jsanders created |
powershell-commands-add-to-admin-group [2025/09/22 17:55] (current) jsanders |
||
---|---|---|---|
Line 1: | Line 1: | ||
===== Add an existing user to Local Administrators group via Powershell ===== | ===== Add an existing user to Local Administrators group via Powershell ===== | ||
- | This script will prompt for a new password, store it as a secure string, then provision a new user with that password. It will also add the new user to the ''Administrators'' group.\\ | + | Add an existing local user to the ''Administrators'' group.\\ |
==== Command ==== | ==== Command ==== |