October
5th,
2008
Silly little helper PowerShell function that I’ve been finding useful lately when doing some debugging:
# get our own process information
function get-myprocess {
[diagnostics.process]::GetCurrentProcess()
}