Get Running Processes with CIM Instance Using PowerShell



You can also display the running process on the computer using the Get- CimInstance command with the same class Win32_Process that the WMI object is using.

Command

Get-CimInstance Win32_Process

Output

ProcessId Name                HandleCount WorkingSetSize VirtualSize
--------- ----                ----------- -------------- -----------
0         System Idle Process 0           8192           8192
4         System              6387        970752         5177344
96        Registry            0           76951552       173195264
568       smss.exe            53          495616         2203359674368
800       csrss.exe           883         4653056        2203416825856
896       csrss.exe           817         5349376        2203449389056
920       wininit.exe         156         4886528        2203387420672
956       winlogon.exe        264         9486336        2203423092736
8         services.exe        838         10129408       2203391979520
684       lsass.exe           1870        20848640       2203418796032
Updated on: 2020-01-22T12:16:42+05:30

1K+ Views

Kickstart Your Career

Get certified by completing the course

Get Started
Advertisements