I\'m working on a script to get started in PowerShell. I\'m trying to convert a working VBScript script that enumerates mapped network drives on a remote Windows computer.
$explorer = gwmi Win32_Process -computerName computerName -filter "Name='explorer.exe' and SessionID=0"
$explorer.GetOwner() | select user,domain
Using the [ref] modifier
SomeMethod( [ref] $a );
Notable blog entries