Cool, thanks. I’m getting this error importing the module too:
The ‘C:\Users\ssaari\Documents\WindowsPowerShell\Modules\EnhancedHTML2\EnhancedHTML2.psd1′
module cannot be imported because its manifest contains one or more members that are not
valid. The valid manifest members are (‘ModuleToProcess’, ‘NestedModules’, ‘GUID’, ‘Author
‘, ‘CompanyName’, ‘Copyright’, ‘ModuleVersion’, ‘Description’, ‘PowerShellVersion’, ‘Power
ShellHostName’, ‘PowerShellHostVersion’, ‘CLRVersion’, ‘DotNetFrameworkVersion’, ‘Processo
rArchitecture’, ‘RequiredModules’, ‘TypesToProcess’, ‘FormatsToProcess’, ‘ScriptsToProcess
‘, ‘PrivateData’, ‘RequiredAssemblies’, ‘ModuleList’, ‘FileList’, ‘FunctionsToExport’, ‘Va
riablesToExport’, ‘AliasesToExport’, ‘CmdletsToExport’). Remove the members that are not v
alid (‘RootModule’), then try to import the module again.
At D:\ng_backend\scripts\Get-RefreshReport.ps1:15 char:18
+ Import-Module <<<< EnhancedHTML2 -force
+ CategoryInfo : InvalidData: (C:\Users\ssaari…ancedHTML2.psd1:String) [Imp
ort-Module], InvalidOperationException
+ FullyQualifiedErrorId : Modules_InvalidManifestMember,Microsoft.PowerShell.Commands.
ImportModuleCommand