Closed Tuumke closed 2 years ago
Alright, seems to work now. Aparently the settings are seperate for Powershell (x86) and Powershell (x64). I set them both to bypass for now. Do get a new 'error'?
<?xml version="1.0" encoding="UTF-8"?><prtg><error>1</error><text>error</text></prtg>
Hm seems to work now. Maybe i was too impatient :-(.. Would be good to mention the powershell x86 in the tutorial ;)
Hey,
Just installed PRTG and have a pretty default Windows (11) installation. I couldn't get any script results so was wondering what was going on. Set it to store results always and finally got some errors back:
When i run get-executionpolicy -list:
PS C:\WINDOWS\system32> Get-ExecutionPolicy -List Scope ExecutionPolicy ----- --------------- MachinePolicy Undefined UserPolicy Undefined Process Undefined CurrentUser RemoteSigned LocalMachine RemoteSigned
-edit- Found this article and did
Disable new PowerShell security feature In case the first option didn't work, you can try to disable the feature under Setup > System Administration > Monitoring (/systemsetup.htm?tabid=2) > Experimental Features | PowerShell Security Enhancement.
That gave me an error result for the script: