"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?
Article Comments
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:
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.
Apr, 2017 - Permalink
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:
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.
Apr, 2017 - Permalink