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

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

avatar

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"

All Comments (2)

avatar

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

avatar

Hello Patrick,

Thank you for your feedback.

Glad that is now working.

Best regards,

Jeff Dagenais