Page 1 of 1

WIndows 8 Built-in Modules not loading

Posted: Sun May 27, 2012 12:19 pm
by coreyhynes
How do I reference modules in WIn8

MainForm.pff (5): ERROR: At Line: 5 char: 15
ERROR: + Import-Module <<<< hyper-v
ERROR: + CategoryInfo : InvalidData: (C:Windowssyst...-vhyper-v.psd1:String) [Import-Module], InvalidOperationException
ERROR: + FullyQualifiedErrorId : Modules_InvalidManifestMember,Microsoft.PowerShell.Commands.ImportModuleCommand
ERROR:
ERROR: Import-Module : The 'C:Windowssystem32WindowsPowerShellv1.0ModulesNetAdapterNetAdapter.psd1' module cannot be imported because its manifest contains one
ERROR: or more members that are not valid. The valid manifest members are ('ModuleToProcess', 'NestedModules', 'GUID', 'Author', 'CompanyName', 'Copyright', 'ModuleV
ERROR: ersion', 'Description', 'PowerShellVersion', 'PowerShellHostName', 'PowerShellHostVersion', 'CLRVersion', 'DotNetFrameworkVersion', 'ProcessorArchitecture', 'R
ERROR: equiredModules', 'TypesToProcess', 'FormatsToProcess', 'ScriptsToProcess', 'PrivateData', 'RequiredAssemblies', 'ModuleList', 'FileList', 'FunctionsToExport',
ERROR: 'VariablesToExport', 'AliasesToExport', 'CmdletsToExport'). Remove the members that are not valid ('HelpInfoUri'), then try to import the module again.
ERROR:

WIndows 8 Built-in Modules not loading

Posted: Sun May 27, 2012 12:30 pm
by Alexander Riedel
Please note that Windows 8 is not released and not a supported platform at this time.

WIndows 8 Built-in Modules not loading

Posted: Sun May 27, 2012 12:33 pm
by coreyhynes
I understand it is not supported, do you know how to make it work, I would like to evaluate this product against it.

WIndows 8 Built-in Modules not loading

Posted: Sun May 27, 2012 1:04 pm
by Alexander Riedel
Not supported doesn't mean we just don't answer questions about it, it means it is simply not built for it. Windows 8 runs PowerShell V3 (which is also a beta) and PowerShell Studio 2012 uses the released PowerShell V2 engine. You simply cannot expect V3 specific modules and language constructs to work at this time. We will release updates as these Microsoft products are released and sufficiently stable.