New Question
 
 
PRTG Network Monitor

Intuitive to Use.
Easy to manage.

300.000 administrators have chosen PRTG to monitor their network. Find out how you can reduce cost, increase QoS and ease planning, as well.

Free PRTG
Download >>

 

What is this?

This knowledgebase contains questions and answers about PRTG Network Monitor and network monitoring in general. You are invited to get involved by asking and answering questions!

Learn more

 

Top Tags


View all Tags


Add a ping sensor in powershell

Votes:

0

Your Vote:

Up

Down

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 by  babak (0) 1



1 Reply

Votes:

0

Your Vote:

Up

Down

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]



Please log in or register to enter your reply.


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.