Remote Scripting basic understanding questions

Resolved

Remote Scripting basic understanding questions

avatar

Hello!

I use the Remote Desktop Manager for years - now i have a question about the possibilities of running scripts and other things.

Is there a posibilitiy to run the scripts on a Windows based machine without the need to make a RDP connection?
If yes how to like making rdp Agent as system Service?
And are there other possibilities headless like for example Linux?


Thank you very much!

All Comments (3)

avatar

Hello Matthias,

The first method is to use the Remote Desktop Manager Agent to run a script through RDP. In this case, an RDP connection is required. The agent is only available on Windows-based machines. Have a look at the documentation here for the installation: https://docs.devolutions.net/rdm/windows/overview/the-devolutions-platform/rdm-agent/

An alternative for PowerShell:
You can enable PowerShell Remoting and create a PowerShell (Remote) entry in RDM.
To enable PowerShell Remoting have a look at this: https://learn.microsoft.com/en-us/powershell/module/microsoft.powershell.core/enable-psremoting?view=powershell-7.3

You could also send commands through SSH using macros. To test this you can create an SSH Command Line macro in RDM and run it on a session entry like an SSH Shell, right click the session - Macros/Scripts/Tools - Select the desired Macro in the list.

Let me know if this answers your question.

Best regards,

Marc-Antoine Dubois

avatar

Hello Marc-Antoine,

Thank you for your understandable reply!

I didnt enable remote scripting now i understand why i got the error messages the last time i tried the remote scripting feature.

avatar

Hello Matthias,

Thanks for the feedback!

Did you have any additional questions regarding this?

Best regards,

Marc-Antoine Dubois