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 a ping sensor in powershell



We had multiple sites and i want to add a ping sensor to them via command so I need to know what is a command to add a ping sensor for a device in PowerShell environment.

cmdlet ping-sensor powershell

Created on Jan 23, 2020 11:30:50 PM

1 Reply



Check out PRTGapi. You'll need to use the clone function:

# Clone a ping sensor into the device with ID 1001
$newSensor = Get-Sensor ping -count 1 | Clone-Object -DestinationId 1001

The installation/setup guide can be found here :)

Created on Jan 24, 2020 8:16:40 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.