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

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

Votes:

0

"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



1 Reply

Votes:

0

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]




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.