Forum / Remote Desktop Manager - PowerShell Repository

launch powershell

  • Create an Issue
  • Cancel

Hi,

i tried launch powershell from RDM, but i have this error :


Resize PowerShell buffer and window size
Loading RDM CmdLet (Module)
Import-Module : Le module « C:\Program Files (x86)\Devolutions\Remote Desktop Manager\RemoteDesktopManager.PowerShellModule.psd1 » ne peut pas être importé, car son manifeste contient un ou p
lusieurs membres non valides. Les membres de manifeste valides sont ('ModuleToProcess', 'NestedModules', 'GUID', 'Author', 'CompanyName', 'Copyright', 'ModuleVersion', 'Description', 'PowerSh
ellVersion', 'PowerShellHostName', 'PowerShellHostVersion', 'CLRVersion', 'DotNetFrameworkVersion', 'ProcessorArchitecture', 'RequiredModules', 'TypesToProcess', 'FormatsToProcess', 'ScriptsT
oProcess', 'PrivateData', 'RequiredAssemblies', 'ModuleList', 'FileList', 'FunctionsToExport', 'VariablesToExport', 'AliasesToExport', 'CmdletsToExport'). Supprimez les membres ('RootModule')
non valides, puis réessayez d'importer le module.
Au niveau de ligne : 6 Caractère : 86
+ if (-not (Get-Module -Name "RemoteDesktopManager.PowerShellModule")) { Import-Module <<<< "C:\Program Files (x86)\Devolutions\Remote Desktop Manager\RemoteDesktopManager.PowerShellModule.
psd1" };
+ CategoryInfo : InvalidData: (C:\Program File...hellModule.psd1:String) [Import-Module], InvalidOperationException
+ FullyQualifiedErrorId : Modules_InvalidManifestMember,Microsoft.PowerShell.Commands.ImportModuleCommand

Le terme « Set-RDMCurrentDataSource » n'est pas reconnu comme nom d'applet de commande, fonction, fichier de script ou programme exécutable. Vérifiez l'orthographe du nom, ou si un chemin d'a
ccès existe, vérifiez que le chemin d'accès est correct et réessayez.
Au niveau de ligne : 7 Caractère : 25
+ Set-RDMCurrentDataSource <<<< -ID "70fda9b2-a7c8-4b8f-8397-be78174a7e7a"
+ CategoryInfo : ObjectNotFound: (Set-RDMCurrentDataSource:String) [], CommandNotFoundException
+ FullyQualifiedErrorId : CommandNotFoundException

PS C:\Program Files (x86)\Devolutions\Remote Desktop Manager>


can you help me , all scripts do not work .

thanks

Vincent

Clock4 yrs

in addition to information , in 32bits mode or 64 idem, my colleagues have the same issueupset

Clock4 yrs

Hi Vincent,

What is your version of PowerShell? You can know it by entering $PSVersionTable.PSVersion in your PowerShell console.

Do you have the same error when you import the module outside RDM? You can import the RDM module with this command:

Import-Module "C:\Program Files (x86)\Devolutions\Remote Desktop Manager\RemoteDesktopManager.PowerShellModule.psd1"

Best regards,

Olivier Désalliers

signaturesignature

Clock4 yrs

hi,

my version is major 2 , minor 0 , build -1 et revision -1

and i have exactly the same error if i import the module directly in the PS

regards

Vincent

Clock4 yrs

Hi,

You need at least PowerShell 3.0 to import the RDM PowerShell module. I suppose you are on Windows 7, you can get PowerShell 3.0 with the SP1 or by installing Windows Management Framework 3.0.

Otherwise you could try to use the snap-in. To use it, you go to File->Options->Advanced->PowerShell in RDM and you change the mode to Snap-in.

Best regards,

Olivier Désalliers

signaturesignature

Clock4 yrs

hi,

thank you ,it's ok now wink

Clock4 yrs