' Add a User to a Local GroupstrComputer = "atl-ws-01"Set objGroup = GetObject("WinNT://" & strComputer & "/Administrators,group")Set objUser = GetObject("WinNT://" & strComputer & "/kenmyer,user")objGroup.Add(objUser.ADsPath) search for scripts
' Add a User to a Local GroupstrComputer = "atl-ws-01"Set objGroup = GetObject("WinNT://" & strComputer & "/Administrators,group")Set objUser = GetObject("WinNT://" & strComputer & "/kenmyer,user")objGroup.Add(objUser.ADsPath)
Download Home Scripts Copyright © 2001-2024 adersοft