Symptoms
When trying to import PSAdmin module into a PowerShell session with Import-Module PSAdmin
command, it fails with the following error:
Import-Module : The 'C:\Program Files (x86)\Parallels\ApplicationServer\psadmin\psadmin.psd1' module cannot be
imported because its manifest contains one or more members that are not valid. The valid manifest members are ('ModuleT
oProcess', 'NestedModules', 'GUID', 'Author', 'CompanyName', 'Copyright', 'ModuleVersion', 'Description', 'PowerShellVe
rsion', 'PowerShellHostName', 'PowerShellHostVersion', 'CLRVersion', 'DotNetFrameworkVersion', 'ProcessorArchitecture',
'RequiredModules', 'TypesToProcess', 'FormatsToProcess', 'ScriptsToProcess', 'PrivateData', 'RequiredAssemblies', 'Mod
uleList', 'FileList', 'FunctionsToExport', 'VariablesToExport', 'AliasesToExport', 'CmdletsToExport'). Remove the membe
rs that are not valid ('RootModule'), then try to import the module again.
At line:1 char:14

Cause
The issue is caused by PowerShell 2.0 version in use.
The installed version of PowerShell can be clarified by checking the value of $PSVersionTable.PSVersion
variable:

Resolution
Update PowerShell to the version 3.0 from Microsoft Download Centre. The files required are:
Windows Server 2008 R2 SP1:
64-bit versions: Windows6.1-KB2506143-x64.msu
Windows Server 2008 Service Pack 2:
64-bit versions: Windows6.0-KB2506146-x64.msu
32-bit versions: Windows6.0-KB2506146-x86.msu
Was this article helpful?
Tell us how we can improve it.