Get All Processes on Remote Computers Using PowerShell



To get all running processes on the remote computer, you need to use – ComputerNameparameter in Get-process cmdlet, WMI class Win32_Process or using the Get-CimInstance cmdlet.

  • With –ComputerName parameter
Get-process -ComputerName Test-PC

To connect multiple computers use computer names separated by comma (,).

Get-process -ComputerName Test-PC, Win2k8
  • With WMI object to get processes on multiple remote computers.
Get-WmiObject Win32_Process -ComputerName Test-PC, Win2k8
  • Get-CimInstance cmdlet to get processes on remote computers.
Get-CimInstance Win32_Process -ComputerName Test-PC, Win2k8
Updated on: 2020-01-22T12:17:11+05:30

19K+ Views

Kickstart Your Career

Get certified by completing the course

Get Started
Advertisements