I've been using
Add-Type -Path "Path to dll"
for loading .NET assemblies into Powershell (v3) scripts. What I've found is this causes the dll file to become locked until the powershell console is terminated.
Is there some way to prevent this from happening? Can I somehow close or remove my references to release lock on this file at end of my script?