支持平台
Windows XP
Windows Server 2003
Windows 2000
Windows NT 4.0
Windows 98
脚本代码
strComputer = "MyComputer"
Set objGroup = GetObject("WinNT://" & strComputer & "/Administrators,group")
Set objUser = GetObject("WinNT://" & strComputer & "/kenmyer,user")
objGroup.Add(objUser.ADsPath)