December 2009
1 post
3 tags
Get Process Owners
I really like the @PowerTip blog series but I find myself wanting to talk back with more than 120 characters. Please enable comments @PowerTip. Comments are enabled for authenticated users. In the meantime, I’ll blog my comments.
re: Get Process Owners
function Get-PSOwner($searchString)
{
$foundProcess = ps $searchString
if($foundProcess -eq $null) { return; }
gwmi...