Sunday, January 18, 2009

group processes

to group processes by name for easier inspection

PS> get-process -name svchost
| ft -Wrap -autosize path,company,id -groupby name


Name: svchost

Path Company Id
---- ------- --
C:\LINDOWS\system32\svchost.exe Microsoft Corporation 704
C:\LINDOWS\system32\svchost.exe Microsoft Corporation 768
C:\LINDOWS\System32\svchost.exe Microsoft Corporation 808
C:\LINDOWS\system32\svchost.exe Microsoft Corporation 856
C:\LINDOWS\system32\svchost.exe Microsoft Corporation 892

No comments:

Post a Comment