Browse: Home / Import-Module
By Joel 'Jaykul' Bennett on 29-Nov-2010
If you’re getting the error: Import-Module : Could not load file or assembly … or one of its dependencies. Failed to grant minimum permission requests. (Exception from HRESULT: 0×80131417) because you’re trying to load a module from a network share … you need to read the PoshCode wiki page which explains how to use caspol [...]
Posted in Huddled | Tagged Code Access Security, Import-Module, Network Share, PowerShell, RemoteSigned
By Joel 'Jaykul' Bennett on 14-Jan-2010
Shay Levy, ScriptFanatic, wrote about the PowerShellHostVersion on his blog this morning, explaining how it is not a field you should use in your module manifests. Of course, there’s an exception: if your module is dependent on a specific host. For instance, if you’ve written a module for PoshConsole which exploits the WpfHost display features [...]
Posted in Huddled | Tagged Error message, Globally Unique Identifier, Import-Module, Metadata, Modules, PowerShell, RequiredModules |