How to get all the processes on remote computers using PowerShell?
https://www.tutorialspoint.com/how-to-get-all-the-processes-on-remote-computers-using-powershell
-
13-09-2020 - |
Question
How to get all the 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
Advertisements
Not affiliated with Tutorialspoint