Asked By
rtrullash
0 points
N/A
Posted on - 06/29/2016
I want to add a domain user to the local group with the shortest of the command possible. Is there any command for Power Shell add user to local group?
Answered By
iodin
0 points
N/A
#161787
Quick Way To Solve The Powershell Add User To Local Group Problem
Adding user to the local group is no big deal, but with the shortest possible command code is quite a challenge. Here is the shortest code I have found to your rescue:
The shortest of command code in the Power Shell Prompt to add a new domain user to the existing local group is:
Add-User To Local Group –User Any User NAME –Local Group Group NAME