function to add "Start the following program on connection" (all fields)
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
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
Thanks!
Worlds best Support!