Ying Li at myITforum.com

PowerShell & System Center

Add a user or group to local administrators group on client through SMS

If you need to add a user or group to local administrators group or any local group for that matter. The command is as follows:

net localgroup Administrators "Domain\xxx_group" /add

Then you can use SMS to push this to the clients.

It also could be used to remove a group from a local group.

Posted: Jan 19 2007, 04:30 PM by yli628 | with no comments
Filed under:

Comments

No Comments