add-type

Can you remove an Add-ed Type in PowerShell again?

I'm currently writing a library in C# and was using PowerShell to quickly test it on some occasions. However, this prevents me from re-building the project as PowerShell obviously still has the DLL open. Is there a way of unloading the DLL again after adding it with Add-Type? The documentation doesn't seem to have clues on that and the ...

Add-Type PowerShell 2.0 can't find method.

I've made a c# class that I'm trying to run in PowerShell with add-Type. I have a few of my own assemblies referenced and some from .net4. I'm using my own PowerShell host because the assemblies I'm referencing are made on the .net4 framework and the PowerShell Console doesn't support that yet. Here is a sample of the script that i'm tr...