- Data Structure
- Networking
- RDBMS
- Operating System
- Java
- MS Excel
- iOS
- HTML
- CSS
- Android
- Python
- C Programming
- C++
- C#
- MongoDB
- MySQL
- Javascript
- PHP
- Physics
- Chemistry
- Biology
- Mathematics
- English
- Economics
- Psychology
- Social Studies
- Fashion Studies
- Legal Studies
- Selected Reading
- UPSC IAS Exams Notes
- Developer's Best Practices
- Questions and Answers
- Effective Resume Writing
- HR Interview Questions
- Computer Glossary
- Who is Who
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