Win8 - Add-Module

Archived support forum for customers who once purchased a PrimalForms product license. This forum is locked.
This topic is 12 years and 6 months old and has exceeded the time allowed for comments. Please begin a new topic or use the search feature to find a similar but newer topic.
User avatar
coreyhynes
Posts: 9
Last visit: Thu Nov 14, 2013 9:37 am

Win8 - Add-Module

Post by coreyhynes »

I did some testing on Win8. This is what I get. This happens on any add-module that is in a form. If you export the form code to powershell ISE and run the script directly, it works fine. This would seem to indicate the PrimarlForms environment is responsible somehow. Clearly Win8 is not a supported platform as yet, but I would like to being building some tools around the new powershell capabilities, so wanted to raise this error and see if a workaround was possible.

>> Debugging (Test.pff) Script...
>> Platform: 64Bit (STA) (Elevated)
ERROR: Import-Module : The 'C:Windowssystem32WindowsPowerShellv1.0ModulesHyper-VHyper-V.psd1' module cannot be imported because its manifest contains one or mo
ERROR: re members that are not valid. The valid manifest members are ('ModuleToProcess', 'NestedModules', 'GUID', 'Author', 'CompanyName', 'Copyright', 'ModuleVersion
ERROR: ', 'Description', 'PowerShellVersion', 'PowerShellHostName', 'PowerShellHostVersion', 'CLRVersion', 'DotNetFrameworkVersion', 'ProcessorArchitecture', 'Require
ERROR: dModules', 'TypesToProcess', 'FormatsToProcess', 'ScriptsToProcess', 'PrivateData', 'RequiredAssemblies', 'ModuleList', 'FileList', 'FunctionsToExport', 'Varia
ERROR: blesToExport', 'AliasesToExport', 'CmdletsToExport'). Remove the members that are not valid ('HelpInfoUri'), then try to import the module again.
ERROR:
Test.pff (24): ERROR: At Line: 24 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:
User avatar
davidc
Posts: 5913
Last visit: Mon Jul 08, 2019 8:55 am
Been upvoted: 2 times

Win8 - Add-Module

Post by davidc »



PrimalForms
2011 has not been tested for Windows 8 and there may be compatibility issues. We
will be working on PowerShell v3 compatibility very soon. David

David
SAPIEN Technologies, Inc.
This topic is 12 years and 6 months old and has exceeded the time allowed for comments. Please begin a new topic or use the search feature to find a similar but newer topic.