How to call a method with output parameters in PowerShell?
Using the [ref] modifier
SomeMethod( [ref] $a );
Notable blog entries
$explorer = gwmi Win32_Process -computerName computerName -filter "Name='explorer.exe' and SessionID=0" $explorer.GetOwner() | select user,domain