Pārlūkot izejas kodu

ugh

pull/8/head
Daniel Covington pirms 4 mēnešiem
vecāks
revīzija
a3ead46a78
2 mainītis faili ar 13 papildinājumiem un 0 dzēšanām
  1. +13
    -0
      CiCd/testing.vbs
  2. Binārs
      SnailWorks_CreateJob_File_SpecificationV5.1.docx

+ 13
- 0
CiCd/testing.vbs Parādīt failu

@@ -0,0 +1,13 @@
Dim DeployMachine:DeployMachine = "KCI-APP01"
Dim WshShell:Set WshShell = WScript.CreateObject("Wscript.Shell")

debug.WriteLine ScriptDirectory & "PsExec64.exe -i \\" & DeployMachine & " -u ntp\daniel_admin -p BarkHornSlam4* cmd.exe /C nircmd.exe " & _
"elevatecmd runassystem powershell ""Stop-WebAppPool -Name tracking"" & exit"

WshShell.Run ScriptDirectory & "PsExec64.exe -i \\" & DeployMachine & " -u ntp\daniel_admin -p BarkHornSlam4* nircmd.exe " & _
"elevatecmd runassystem powershell ""Stop-WebAppPool -Name tracking""" ,1,True




' powershell -Command "Stop-WebAppPool -Name tracking"

Binārs
SnailWorks_CreateJob_File_SpecificationV5.1.docx Parādīt failu


Notiek ielāde…
Atcelt
Saglabāt

Powered by TurnKey Linux.