When a website on a remote server is down, I want to restart the Application Pool. For this purpose, I added a notification to PRTG which executes a ps1 Powershell script I wrote. Unfortunately, I don't know how can I use the parameters which are provided by PRTG in the Execute Program section of the Notification settings (e.g., %device, %name, etc.).
The parameters I use in my script do not work. Please help me to provide the correct parameters in my script.