Remote desktop module does not work when Sqlserver module is loaded.

Implemented

Remote desktop module does not work when Sqlserver module is loaded.

avatar

In Powershell 5.1 if the Sqlserver module is loaded before Module RemoteDesktopManager the modul is not working.

I run this:

Import-Module SqlServer
Get-RDMDataSource

forum image

If I run this:

Get-RDMDataSource
Import-Module SqlServer
Get-RDMDataSource
forum image
This is the versions of the modules.

https://www.powershellgallery.com/packages/RemoteDesktopManager/2021.2.0.32

https://www.powershellgallery.com/packages/SqlServer/21.1.18256

All Comments (6)

avatar

Hi,

Looks like loading SqlServer module first interferes with out reflection code.
I'll take a look and see if there's anything I can do to prevent this issue.

Regards

Jonathan Lafontaine

avatar

Hi,

A fix for this issue will be available in the next release.

Regards

Jonathan Lafontaine

avatar

Hi,
I installed RemoteDesktopManager modul 2021.2.0.41, and I still have problems.

Running SqlServer modul 21.1.18256.

avatar

You are right, PS5.1 has further problems I missed the first time around.
A new build will be available shortly.

Jonathan Lafontaine

avatar

You should be able to update to 2021.2.0.42 which will hopefully fix all your issues related to SqlServer.

Jonathan Lafontaine

avatar

Thank you, now it is working.