Yes, this is the test action.
if {not exists folder “C:\Support\Zscaler”}
dos cmd.exe /C mkdir "C:\Support\Zscaler"
endif
delete “C:\Support\Zscaler\Zscaler.txt”
delete __Download\zscaler.ps1
delete __createfile
// CREATEFILE
createfile until END_OF_FILE
Invoke-RestMethod -Uri “https://ip.zscaler.com” -OutFile “C:\Support\Zscaler\Zscaler.txt”
END_OF_FILE
move __createfile “C:\Support\Zscaler\zscaler.ps1”
override wait
hidden=true
runas=currentuser
wait { pathname of file ((it as string) of value “Path” of key “HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\PowerShell\1\ShellIds\Microsoft.PowerShell” of native registry) } -ExecutionPolicy Bypass -File “C:\Support\Zscaler\zscaler.ps1”
delete “C:\Support\Zscaler\zscaler.ps1”