RDP or alternative session

avatar

Hello everyone,

I noticed the entry "Event" in the RDM which might help me to solve my task.

On some customer systems we are not allowed to log in via RDP anymore or with restrictions.

Therefore I display a message in the "before connection" and point this out. Now I would only have to react to the events

i.) the user enters the correct passcode and we connect via RDP
ii.) he does something else and I use an alternative PowerShell script
iii.) he ends the session and we do nothing.

From the logic there are the events "Before Open", "After Open", "Before Close", "After Close".

Maybe other event handlers would be useful.

Since there is no documentation about this, at least I did not find any, I ask myself what I can do with the mode "variable".

Another idea is to intercept the user interaction with PowerShell and then either start the session with Open-RDMSession or use the alternative PowerShell script.

Thanks for your feedback.

With best regards koderer

All Comments (2)

avatar

is done. i do now directly in powershell because RDM doesn't give it away or i'm too stupid

avatar

Hello,

I just want to make sure, have you gotten what you needed to work?
Thanks in advance for your feedback.

Best regards,

Alex Belisle