Skip to content

Instantly share code, notes, and snippets.

Created June 8, 2017 19:54
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save anonymous/eea0a57cb56b4d1e24d6f860c10844d6 to your computer and use it in GitHub Desktop.
Save anonymous/eea0a57cb56b4d1e24d6f860c10844d6 to your computer and use it in GitHub Desktop.
Error when loading function with Class inside of Function
Import-Module : The given assembly name or codebase was invalid. (Exception from HRESULT: 0x80131047)
At line:1 char:1
+ Import-Module ' ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : NotSpecified: (:) [Import-Module], FileLoadException
+ FullyQualifiedErrorId : System.IO.FileLoadException,Microsoft.PowerShell.Commands.ImportModuleCommand
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment