14.1. Working with Processes

All operations related to processes in PowerShell are supported by two cmdlets: Get-Process and Stop-Process. Here is how to verify that by getting all cmdlets that relate to the Process noun:

PS> Get-Command -Noun Process

CommandType     Name                        Definition
-----------     ----                        ----------
Cmdlet          Get-Process                 Get-Process [[-Name] <S...
Cmdlet          Stop-Process                Stop-Process [-Id] <Int...

14.1.1. Listing Processes: Getting the Big Picture

Sometimes, our system becomes unresponsive for no apparent reason. The experienced user usually fires up a task manager instance and starts poking around. Is there a process eating too much CPU time? Do we have a program that has gone wild and has eaten up all available memory on our system and is ...

Get Pro Windows PowerShell now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.