Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
languagepowershell
firstline1
titleInstall StresStimulus Unattended
linenumberstrue
$ProcName = "StresStimulusInstaller_full.exe"

$WebFile = "https://licensing10.stresstimulus.com/update/$ProcName"   

netsh advfirewall firewall add rule name='StresStimulus Port' dir='in' action='allow' protocol='TCP' localport='49998,49996'
(New-Object System.Net.WebClient).DownloadFile($WebFile,"$env:LOCALAPPDATA\$ProcName")
Start-Process -FilePath "$env:LOCALAPPDATA\$ProcName" -ArgumentList "/q", "/agent" -RedirectStandardOutput "$env:LOCALAPPDATA\stresstimulus_install_log.txt" 

...