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?


Article Comments

https://helpdesk.paessler.com/en/support/solutions/articles/79033-adding-new-sensors-using-prtg-api#reply-271495


Jan, 2020 - Permalink

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


Jan, 2020 - Permalink