In Version 2021.2.14.0 when i try to load the powershell module from Tools->Powershell (RDM Cmdlet) i get
Import-Module : The specified module 'RemoteDesktopManager' was not loaded because no valid module file was found in any module directory.
At line:5 char:55
+ ... me "RemoteDesktopManager")) { Import-Module "RemoteDesktopManager" };
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : ResourceUnavailable: (RemoteDesktopManager:String) [Import-Module], FileNotFoundException
+ FullyQualifiedErrorId : Modules_ModuleNotFound,Microsoft.PowerShell.Commands.ImportModuleCommand
Set-RDMCurrentDataSource : The term 'Set-RDMCurrentDataSource' is not recognized as the name of a cmdlet, function, script file, or opera
ble program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again.
At line:6 char:1
+ Set-RDMCurrentDataSource -ID "33a8f444-d9fa-4aad-9b19-827641fd6976";
+ ~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : ObjectNotFound: (Set-RDMCurrentDataSource:String) [], CommandNotFoundException
+ FullyQualifiedErrorId : CommandNotFoundException
Solved when we download the module manual from Psgallery !
Hello,
That's right, the RDM PowerShell Core module needs to be downloaded in PowerShell Gallery: https://www.powershellgallery.com/packages/RemoteDesktopManager/
Best regards,
Érica Poirier
You should update the PowerShell help page to reference this. Having a check in RDM when "Load RDM CmdLet" is checked to see if the module actually exists, and notifying the user to install it if it isn't, would also be good.
It does appear that the new module does not work if the datasource asks for a password(?)
PS C:\Program Files (x86)\Devolutions\Remote Desktop Manager> Update-RDMUI NotImplementedException - The method or operation is not implemented. at RemoteDesktopManager.UIService.ShowSharePasswordPrompt() at Devolutions.RemoteDesktopManager.Services.BusinessSecurityProviderService.ConfigureClientSharedPasswordProvider(ISecurityProvider provider, IConnectionDataSource dataSource, Object configuration, Boolean persist) at Devolutions.RemoteDesktopManager.Business.SharedPasswordSecurityProvider.Initialize(IConnectionDataSource dataSource, String configuration) at Devolutions.RemoteDesktopManager.Managers.ConnectionManager.LoadConnectionsFromDataSource(ConnectionEngine engine, Boolean hasChanged) at Devolutions.RemoteDesktopManager.Managers.ConnectionManager.LoadConnections(BaseConnectionDataSource dataSource) NotImplementedException - The method or operation is not implemented. at RemoteDesktopManager.UIService.ShowSharePasswordPrompt() at Devolutions.RemoteDesktopManager.Services.BusinessSecurityProviderService.ConfigureClientSharedPasswordProvider(ISecurityProvider provider, IConnectionDataSource dataSource, Object configuration, Boolean persist) at Devolutions.RemoteDesktopManager.Business.SharedPasswordSecurityProvider.Initialize(IConnectionDataSource dataSource, String configuration) at Devolutions.RemoteDesktopManager.Managers.ConnectionManager.LoadConnectionsFromDataSource(ConnectionEngine engine, Boolean hasChanged) at Devolutions.RemoteDesktopManager.Managers.ConnectionManager.LoadConnections(BaseConnectionDataSource dataSource)
Hello,
Thank you for your feedback.
The update of the RDM PowerShell online help is ongoing and should be soon available. Sorry about this delay.
Regarding the data source that is protected with shared passphrase, a ticket is already opened. Please follow this topic to be notified once a fix will be available.
https://forum.devolutions.net/topics/36237/powershell-module-cannot-connect-to-secured-database-after-update
Best regards,
Érica Poirier
Hello,
The RDM online help has been updated.
Best regards,
Érica Poirier