Good Day to you, I've configured an xmlexesensor. In this Sensor i have to run a Powershellscript to access to a Webapplication with active Directory based User credentials. The Ps1-Script with the folowing paramters, works fine.

-BaseURL "https://Website/" -Username <username@domain> -Password <Password> -ModuleType "Job" -ModuleList <module1>, <module2> .

What can i do, to run the script without credentials in Parameters? I've tried to activate "credentials for Windows Systems", set the domain credentials there und cut off username and password out of the parameters. it doesn't work. What can i do? do i have to configure placeholders as %username %password in the parameterstring? What would be a correct syntax?

Many thanks and regards pascal


Article Comments

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.

Hello Pascal,
You find all available parameters here. Regarding how to use and test them, please have a look here: https://helpdesk.paessler.com/en/support/solutions/articles/76000063264

You should be able to use the following:

-BaseURL "https://Website/" -Username '%windowsuser' -Password '%windowspassword' -ModuleType "Job" -ModuleList <module1>, <module2> .

Sep, 2022 - Permalink

Good morning Timo perfect! It works! Many thanks! regards pascal


Sep, 2022 - Permalink