If I try to load https://help.remotedesktopmanager.com/get-rdmuser.html, it says not found.
I would like to know if there is a way to store user credentials to in a powershell script to avoid the login/auth popup when trying to run a ps script.
Hello,
For your information, the PowerShell cmdlets help pages has been removed from the RDM online help as it is possible to consult the help pages with the Get-Help and Get-Command cmdlets.
What data source type are you using in RDM?
About the username and password prompt, does your RDM data source is configured with the Prompt for credentials or Always ask password option in File - Data Sources?
Best regards,
Érica Poirier
I have it as "Devolutions Password Server", and for authentication to work, I have to tick "Use Office 365 authentication". In that case, the prompt for password checkbox gets greyed out.
Hello,
Thank you for the information.
With the Office365 authentication in a DPS data source, it is unfortunately not possible to skip the password prompt.
Best regards,
Érica Poirier
Hi,
So you mean, we can't automate using powershell? is there any way to pass the credentials (Office365 username and password) to a command in the ps script?
Hello,
That is correct that it is not possible to pass the credentials (Office365 user account) within a PowerShell script.
A workaround would be to enable the Devolutions Password Server custom user authentication method in the Authentication tab of the DPS settings and create a custom account for scripting. With that account, it is possible to connect with the RDM PowerShell module.
Could you please provide the main purpose of using the RDM PowerShell module? Is it for task automation?
Best regards,
Érica Poirier
Hi,
Thank you for this. I can confirm it works.
Yes it is for task automation.
Hello,
Thank you for your feedback and glad that it works as expected.
Best regards,
Érica Poirier