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.