New Question
 
 
PRTG Network Monitor

Intuitive to Use.
Easy to manage.

200.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


Passing parameters into a powershell script

Votes:

0

Your Vote:

Up

Down

Hello,

I got a power-shell script that sends a message using Twilio service.

I would like to use it as a notification in PRTG.

I don't understand how I can pass PRTG parameters like what is down, what time, what is the down message etc etc into this script that I am executing.

Can I ask some guidance on this?

Many thanks.

Mirek

parameters powershell twilio

Created on Jan 24, 2019 4:11:15 PM by  Mirek (0) 1



2 Replies

Accepted Answer

Votes:

2

Your Vote:

Up

Down

Simply use the available placeholders in the parameter field. Make sure that you modify your script accordingly, so it evaluates these parameters accordingly (https://ss64.com/ps/syntax-args.html).


PRTG Scheduler | PRTGapi | Feature Requests | WMI Issues | SNMP Issues

Kind regards,
Stephan Linke, Tech Support Team

Created on Jan 25, 2019 1:25:21 PM by  Stephan Linke [Paessler Support]



Votes:

0

Your Vote:

Up

Down

Many thanks.

Created on Jan 25, 2019 1:33:42 PM by  Mirek (0) 1



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.