New Question
 
 
PRTG Network Monitor

Intuitive to Use.
Easy to manage.

200.000 administrators have chosen PRTG to monitor their network. Find out how you can reduce cost, increase QoS and ease planning, as well.

Free PRTG
Download >>

 

What is this?

This knowledgebase contains questions and answers about PRTG Network Monitor and network monitoring in general. You are invited to get involved by asking and answering questions!

Learn more

 

Top Tags


View all Tags


PowerShell 32 bit or 64 bit and Execution Policy

Votes:

0

Your Vote:

Up

Down

If I run PowerShell notifications or EXE sensors with Powershell scripts, which PowerShell version is used by PRTG (32-bit, 64-bit) and how do I have to configure the PowerShell Execution Policy?

32bit-to-64-bit exe-script-sensor executionpolicy powershell script security

Created on May 25, 2011 8:19:17 AM by  Tobias Lange [Paessler Support]

Last change on Jul 12, 2019 8:12:41 AM by  Maike Behnsen [Paessler Support]



1 Reply

Accepted Answer

Votes:

0

Your Vote:

Up

Down

PowerShell 32-Bit and 64-Bit and Execution Policy

Even on a 64-bit Windows system, PRTG will start the 32-bit version of the PowerShell. Because of that, the Execution Policy of the 32-bit PowerShell has to be correctly set. It is independent from the 64-bit Execution Policy.

The 32-bit version of the Windows PowerShell can be found here: %SystemRoot%\syswow64\WindowsPowerShell\v1.0\powershell.exe

You can enable PowerShell scripting from PRTG by executing the following command from a Windows command line: %SystemRoot%\SysWOW64\WindowsPowerShell\v1.0\powershell.exe "Set-ExecutionPolicy RemoteSigned"

For information about signing PowerShell scripts and the Execution Policy for scripts, see the following external resources:

More

Created on May 25, 2011 8:35:47 AM by  Tobias Lange [Paessler Support]

Last change on Jul 12, 2019 8:23:20 AM by  Maike Behnsen [Paessler Support]



Please log in or register to enter your reply.


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.