PowerShell Caspol Full Trust / Untrust of Network-Share (URL)

If you need to edit the .NET Code Access Security (CAS) on a Workstation you have to use the very unhandy CASPOL.EXE. I had the need to change the CAS to Trust/Untrust a Share. I found no way to remove the Trust easily. So I Wrap and Parse the output of the Caspol.exe.

 
 
 
 
 
5 Star
(1)
1,633 times
Add to favorites
Group Policy
2/2/2012
E-mail Twitter del.icio.us Digg Facebook