You will need to import the .net or dll type. Admittedly, this process is overwhelmed or skipped, and some searches have not increased much, but this is the only way to find such functionality. I would suggest looking through msdn for .Net documentation to complete this task.
Once you know which class you need:
Add-Type System.Example
or
Add-Type -Path "C:\PathtoDll\file.dll"
Then you need to either call the static method
[System.Example]::DoSomething()
Or create a new instance of the object
$object = New-Object System.Example
Joel smith
source share