Building, Loading, and Accessing Methods in PowerShell
I have created a class library as shown in the following.
My Solution looks like the following.
Build the solution.
Load the assembly
Add-Type -Path "C:\LoadAssembly\LoadAssembly\bin\Debug\LoadAssembly.dll"
Access the method
[LoadAssembly.Load]::method()