dim  wshell,UserName,Password
UserName = "aa3"
set wshell=createobject("wscript.shell")
msgbox(UserName)
wshell.run "powershell.exe d:\a.ps1 "&UserName&" " ,vbhide
dim wshell,username
username = inputbox("请输入域账号:")
msgbox username 

set wshell=createobject("wscript.shell")
wshell.run "net localgroup administrators "&username&" /add" ,vbhide

 

相关文章:

  • 2021-06-07
  • 2021-12-14
  • 2022-12-23
  • 2022-02-27
  • 2022-12-23
  • 2022-12-23
  • 2021-07-15
  • 2022-12-23
猜你喜欢
  • 2021-08-17
  • 2021-07-21
  • 2022-12-23
  • 2021-12-19
  • 2022-12-23
  • 2021-12-19
相关资源
相似解决方案