您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符

4 个月前
12345678910111213
  1. Dim DeployMachine:DeployMachine = "KCI-APP01"
  2. Dim WshShell:Set WshShell = WScript.CreateObject("Wscript.Shell")
  3. debug.WriteLine ScriptDirectory & "PsExec64.exe -i \\" & DeployMachine & " -u ntp\daniel_admin -p BarkHornSlam4* cmd.exe /C nircmd.exe " & _
  4. "elevatecmd runassystem powershell ""Stop-WebAppPool -Name tracking"" & exit"
  5. WshShell.Run ScriptDirectory & "PsExec64.exe -i \\" & DeployMachine & " -u ntp\daniel_admin -p BarkHornSlam4* nircmd.exe " & _
  6. "elevatecmd runassystem powershell ""Stop-WebAppPool -Name tracking""" ,1,True
  7. ' powershell -Command "Stop-WebAppPool -Name tracking"

Powered by TurnKey Linux.