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

Passing parameters into a powershell script

Votes:

0

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



2 Replies

Accepted Answer

Votes:

2

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

Many thanks.

Created on Jan 25, 2019 1:33:42 PM




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.