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

Add Sensor to Device with PrtgAPI with Powershell



Hi, how to use the PrtgApi in Powershell to add a sensor to a device?

For example: I want to add a simple ping sensor that already exist in Powershell.

Can not find anything in the wiki. The cmdlet "new-sensor" only support the creation of the following sensor types: EXE/Script Advanced WMI Service HTTP Sensor Factory

maybe someone has an idea?

add-sensor powershell prtgapi

Created on Jan 15, 2020 2:59:49 PM

2 Replies



Hi there,

Please note that the PRTG API from LordMilko is not supported by Paessler. If you want more information about the API, please check this site: https://github.com/lordmilko/PrtgAPI

Created on Jan 16, 2020 11:52:11 AM by  Moritz Heller [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.