Add a user to the local administrators group August 28, 2008 by ucinfo, posted in Flaphead, Powershell, Scripting How cool is this ;-) $srv=hostname;([ADSI]”WinNT://$srv/Administrators,group”).Add(“WinNT:///”) Share this:TwitterFacebookLike this:Like Loading... Related