Submitted By: Anonymous

This is a simple one-line script used to add a domain user or group to the local Administrators group. I use this all the time to update lab environments via a login script.

Visual Basic
Edit|Remove
net localgroup Administrators /add "fabrikam\kenmyer"