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

pass PRTG parameter to custom script



Is there a way to pass the "Device name" in PRTG to a custom powershell sensor?

As opposed to entering the device name again in the "Parameters" field of the custom sensor.

parameters powershell prtg

Created on Mar 21, 2019 9:49:22 AM

1 Reply



Using %device, you can pass the actual device name to the PowerShell script :)

PRTGapi | Feature Requests | WMI Issues | SNMP Issues

Kind regards,
Stephan Linke, Tech Support Team

Created on Mar 21, 2019 10:21:15 AM by  Stephan Linke [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.