[System.Reflection.Assembly]::LoadFrom(".\myProject.dll")
$myObject = New-Object myNamespace.myClass
$myObject.MyFunction()
If my functions return objects, I can use them just like I would any other object in PowerShell. I just found this as another way to use the .Net Framework.
No comments:
Post a Comment