WhiteSpace in Notification for send to powershell
Modified on 2025-06-10 15:54:08 +0200
Attention: This article is a record of a conversation with the Paessler support team. The information in this conversation is not updated to preserve the historical record. As a result, some of the information or recommendations in this conversation might be out of date.
Important: We no longer maintain this article. The information might be out of date.
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 ?
Article Comments
Using '%device' should work. Could you provide me with an example that doesn't work and you PowerShell script?
Feb, 2020 - Permalink
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.
Using '%device' should work. Could you provide me with an example that doesn't work and you PowerShell script?
Feb, 2020 - Permalink