Forum / Remote Desktop Manager - PowerShell Repository

What dll files to import to run commands from external file?

  • Create an Issue
  • Cancel

I have a ps1 file that executes the Get/Set commands for data source and sessions and I need to be able to run it outside of the powershell embedded within RDM.

I know about the Import-Module command I can use, but which dll files should I import? There are dozens in the directory "C:\Program Files (x86)\Devolutions\Remote Desktop Manager"

Clock3 yrs

figured it out, add:
Import-Module "${env:ProgramFiles(x86)}\Devolutions\Remote Desktop Manager\RemoteDesktopManager.PowerShellModule.dll

Clock3 yrs

Hello Patrick,

Thank you for your feedback.

Glad that is now working.

Best regards,

Jeff Dagenais

Clock3 yrs