What is this?

This knowledgebase contains questions and answers about PRTG Network Monitor and network monitoring in general.

Learn more

PRTG Network Monitor

Intuitive to Use. Easy to manage.
More than 500,000 users rely on Paessler PRTG every day. Find out how you can reduce cost, increase QoS and ease planning, as well.

Free Download

Top Tags


View all Tags

Getting "RuntimeException" errors when using Powershell

Votes:

0

When using the sample Powershell scripts in PRTG I get a RuntimeException error. What have I done wrong?

Thanks in advance. James

powershell runtimeexception sample-script

Created on Jul 28, 2010 8:55:26 AM



1 Reply

Accepted Answer

Votes:

0

Dear James,

this could be an issue with the Powershell Execution Policy. In some tests it was necessary to set this policy to 'Unrestricted' otherwise PRTG could not execute the scripts.

Information about signing Powershell scripts and the Execution Policy for scripts can be found in the following external resources:

(Please bear in mind that there might be two Powershell.exe (32bit and 64bit) for 64bit Windows OS'.)

Best Regards.

See Also

Tag-set "powershell" in this Knowledge Base

Created on Jul 28, 2010 1:22:08 PM by  Torsten Lindner [Paessler Support]

Last change on Jul 29, 2010 12:24:23 PM by  Daniel Zobel [Product Manager]




Disclaimer: The information in the Paessler Knowledge Base comes without warranty of any kind. Use at your own risk. Before applying any instructions please exercise proper system administrator housekeeping. You must make sure that a proper backup of all your data is available.