my $obj = Win32::OLE->GetObject( 'winmgmts{impersonateLevel=impersonate}' ); foreach $process( in $obj->InstaceOf("Win32_Process")){ #iterate through the list of LOCAL processes }