Users

All Posts (4)

avatar

Maybe945

PowerShell connect to password protected vault

avatar
avatar
avatar
avatar
avatar

Hi Maxime

Thanks, I saw a new version releases but didn't see this feature in the notes. Do you know which version will have this change?

Cheers,

Alex

PowerShell connect to password protected vault

avatar
avatar
avatar
avatar
avatar

Hi Patrick

Thanks, unfortunately I am planning on running this in the background so this won't work.

I am guessing there are no other ways, can this be made into a feature request for the next version?

Cheers

Alex

PowerShell connect to password protected vault

avatar
avatar
avatar
avatar
avatar

Hello Alex,

Thank you for contacting the Devolutions support team.

Could you tell me if you already tried the Get-Crendetial cmdlet in your script?

https://learn.microsoft.com/en-us/powershell/module/microsoft.powershell.security/get-credential?view=powershell-7.4

Best regards,

Hi,

I couldn't find where to pass the credentials to.

For example when just running

PS > Get-RDMSession -ID ae42b2c1-33ca-479b-b87e-bbc91ec5db99 | Select Name, Description, Host
This vault is password protected. Please enter the password to access it.
*********

It would prompt for the password but not with Get-Credetial, instead it looks like it's using Read-Host.

I couldn't find any other parameter or cmdlet to enter this password before running Get-RDMSession.

I'm using the latest PowerShell module and PowerShell 7.

Thanks

PowerShell connect to password protected vault

avatar
avatar
avatar
avatar
avatar

Hi

I'm trying to write a script which automatically connects to our data source (SQL server) for RDM using the Devolutions PowerShell module. This will prompt to enter the password for the vault: "This vault is password protected. Please enter the password to access it."

This seems to be just an input read from the console. Is there any parameter I can pass the password to or another cmdlet to use?

Cheers

Alex

1 - 4 of 4 items