Hello Thwack-Folks!
Brief situation:
I do have a powershell monitor, which opens a website and parses the content. For access I do have to pass a basic http authentication.
Script is ready, tested and works, now I am curious about the credentials. When setting up an orion powershell monitor you are able to select credentials for your access.
So what I am looking for is, instead of using this line and storing username and password in plain inside the script
$webclient.credentials = new-object system.net.networkcredential("yourusername", "yourpassword")
I would like to use the credentials stored in orion.
So my question is, is it possible and if yes, how to I transfer the credentials from orion to the script monitor?
Thank you in advance!
-FRA