Solving the “failed to grant minimum permission requests” error

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 to set the CAS policy for a UNC path file share.

I feel like I should apologize for this post, since it basically just serves to link to that wiki page, but people keep asking, and my blog has better pagerank than the wiki ;-)

Similar Posts: