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

WhiteSpace in Notification for send to powershell

Votes:

0

Hi,

I have many server with a whitspace in the name. If we have an error on serveur we send a notification to an powershell script if i use %device we have not the entire server name because whitespace break...

I have try -server '%device' for send parameter to my powershell it's same Have an idea to passe the parameter device to my PS script ?

exe-script-sensor notifications powershell

Created on Jan 31, 2020 3:29:01 PM



1 Reply

Votes:

0

Using '%device' should work. Could you provide me with an example that doesn't work and you PowerShell script?

Created on Feb 3, 2020 10:30:12 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.