Accessing .NET components from Powershell 1

Accessing .NET components from Powershell

[void][System.Reflection.Assembly]::LoadFrom(PathToYourAssembly)

Here is what the above code is Doing:
1. It’s loading the assembly into memory.
2. It’s creating a new instance of the class.
3. It’s calling the method.

Similar Posts