Saturday, August 23, 2014

Custom PowerShell PRTG sensor script

PRTG only run x32 PowerShell, so if you're having problems with the sensor returning "response not well formed <script> cannot be loaded because the execution of scripts is disabled on this system" you need to lower the execution policy in PowerShell to "remotesigned" in the x32 PowerShell. To do so navigate to C:\Windows\SysWOW32\WindowsPowerShell and run PowerShell.exe and then run the Set-ExecutionPolicy commandlet to set the execution policy there.

No comments:

Post a Comment