I created a powershell module that works fine if I load it like this:
Import-Module "C:\temp\My.PowerShell.DocumentConversion.dll"
I also registered the module in the global build cache, but cannot load it. I checked that the module is actually loaded in gac. I realized that it would be enough to load a module like this
Import-Module My.PowerShell.DocumentConversion.dll
Obviously, I was wrong how to do this to run powershell modules from gac?
Eric Herlitz
source share