25개 이상의 토픽을 선택하실 수 없습니다. Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

testing.vbs 597B

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.