Running RDM Powershell Commands Remotely with Service Account
Hello,
I'm writing a PowerShell script that will synchronize the server list in a Vault with a list of servers and IPs in a CMDB. I can run the script locally but am sometimes prompted to log in using a web login prompt. If I want to have a service account running this script on a schedule remotely, how can I pass credentials so this account does not get prompted to authenticate to the Devolutions Server?
Hello,
You would need to create an Application in your Devolutions Server, please refer to https://helpserver.devolutions.net/webinterface_applications.html
You can then use that key to connect to your Devolutions Server via PowerShell, you can refer to the first method mentioned in this KB https://kb.devolutions.net/dvls_pwsh_connectivity.html
Let us know if you have any issues!
Best regards,
Richard Boisvert