Wednesday, May 4, 2011

Use net.exe to add account to local groups

Use this for Login scripts or what have you to add AD groups or users to local user groups.

net.exe localgroup localgroupname "domain\groupname-personname" /add