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


Why Notifications is limited to running programs in its own subfolder?

Votes:

0

Your Vote:

Up

Down

"Select the program that PRTG executes. You can choose from *.exe, *.bat, *.cmd, *.com or *.ps1 files located in Notifications/exe subfolder of your PRTG installation."

Why is there such a limitation? What about powershell commandlets? Those aren't stored in your exe folder. Why would they, right? They're stored in powershell's own folders and don't need to be referenced by path as powershell loads them immediatelly during its load.

But please answer also the general question, why don't you allow PRTG to start executables outside of its EXE folder in general?

exe limitation notification

Created on Apr 19, 2017 11:53:16 AM by  R (1) 1



1 Reply

Votes:

0

Your Vote:

Up

Down

Hi there,

You can create any PowerShell script you want with any available modules that are installed properly in the PowerShell-System Folder (C:\WINDOWS\system32\WindowsPowerShell\v1.0\Modules). You can find out the supported folders for PowerShell modules by executing the following command:

$Env:PSModulePath

Please note that PRTG needs a static folder for its files to execute them. So you can create a script, place it in the "Notifications" folder and PRTG will execute it.

Maybe you can explain your purpose or reason of starting a PowerShell script somewhere else than this folder? :)

Best regards.

Created on Apr 24, 2017 7:48:22 AM by  Dariusz Gorka [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.