O'Reilly logo

Pro Windows PowerShell by Hristo Deshev

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

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 ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required