WIndows 8 Built-in Modules not loading

This forum can be browsed by the general public. Posting is limited to current SAPIEN license holders with active maintenance and does not offer a response time guarantee.
Forum rules
DO NOT POST SUBSCRIPTION NUMBERS, LICENSE KEYS OR ANY OTHER LICENSING INFORMATION IN THIS FORUM.
Only the original author and our tech personnel can reply to a topic that is created in this forum. If you find a topic that relates to an issue you are having, please create a new topic and reference the other in your post.

Any code longer than three lines should be added as code using the 'Select Code' dropdown menu or attached as a file.
User avatar
coreyhynes
Posts: 9
Joined: Wed Jan 06, 2010 11:39 pm

WIndows 8 Built-in Modules not loading

Post by coreyhynes » Sun May 27, 2012 12:19 pm

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:

User avatar
Alexander Riedel
Posts: 7021
Joined: Tue May 29, 2007 4:43 pm

WIndows 8 Built-in Modules not loading

Post by Alexander Riedel » Sun May 27, 2012 12:30 pm

Please note that Windows 8 is not released and not a supported platform at this time.
Alexander Riedel
SAPIEN Technologies, Inc.

User avatar
coreyhynes
Posts: 9
Joined: Wed Jan 06, 2010 11:39 pm

WIndows 8 Built-in Modules not loading

Post by coreyhynes » Sun May 27, 2012 12:33 pm

I understand it is not supported, do you know how to make it work, I would like to evaluate this product against it.

User avatar
Alexander Riedel
Posts: 7021
Joined: Tue May 29, 2007 4:43 pm

WIndows 8 Built-in Modules not loading

Post by Alexander Riedel » Sun May 27, 2012 1:04 pm

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.
Alexander Riedel
SAPIEN Technologies, Inc.