Forum / Remote Desktop Manager - Macro/Script/Tools

get password using the Get-RDMSessionPassword

  • Create an Issue
  • Cancel

Hi,

i am trying to get a session password via powershell via the Get-RDMSessionPassword cmdlet, i am getting back a SecureString object
if i use the ConvertFrom-SecureString cmdlet to get the plain string it returns a long string that looks like an encrypted string
how can i get the plain password string?

Thanks
Dan

Clock2 yrs

Hi,

There is the parameter AsPlainText in the Get-RDMSessionPassword cmdlet to be able to do that.

Ex:


Get-RDMSessionPassword -Session $session -AsPlainText


Best regards,

Olivier Désalliers

signaturesignature

Clock2 yrs