Forum / Remote Desktop Manager - PowerShell Repository

function to add "Start the following program on connection" (all fields)

  • Create an Issue
  • Cancel

Hello Devolutions Team,

I hope your great support can once again help me out.
I need to add a URL to the "Start the following program on connection" feature and fill all possible hooks and fields with values.

Could you tell me the corresponding PS functions to call?

Thanks in advance

BR
Steffen

Clock4 yrs

Hello,

The PS cmdlet for set or modify any properties of an entry is Set-RDMSessionProperty.

For your needs :


Set-RDMSessionProperty -ID $session.ID -Property "AlternateShell" -Value "OtherShell.exe"
Set-RDMSessionProperty -ID $session.ID -Property "ShellWorkingDirectory" -Value "YourURL"

Best regards,



Érica Poirier

signaturesignature

Clock4 yrs

Thanks!

Worlds best Support!

Clock4 yrs