Contact Info

Crumbtrail » Administration » Powershell » Powershell 2.0 » Get-Process

Get-Process - Powershell 2.0 CmdLet

Microsoft Windows PowerShell is a command-line shell and scripting tool based on the Microsoft .NET Framework. It is designed for system administrators, engineers and developers to control and automate the administration of Windows and applications.

More than hundred command-line tools (so called "cmdlets") can be used to perform system administration tasks and Windows Management Instrumentation (WMI). These cmdlets are easy to use, with standard naming conventions and common parameters, and standard tools for piping, sorting, filtering, and formatting data and objects.


Short description
Gets the processes that are running on the local computer or a remote computer.

Get-Process [[-Name] <string[]>] [-ComputerName <string[]>] [-FileVersionInfo] [-Module] [<CommonParameters>]

Get-Process -Id <Int32[]> [-ComputerName <string[]>] [-FileVersionInfo] [-Module] [<CommonParameters>]

Get-Process -InputObject <Process[]> [-ComputerName <string[]>] [-FileVersionInfo] [-Module] [<CommonParameters>]

The Get-Process cmdlet gets the processes on a local or remote computer. 

Without parameters, Get-Process gets all of the processes on the local computer. You can also specify a particular 
process by process name or process ID (PID) or pass a process object through the pipeline to Get-Process.  

By default, Get-Process returns a process object that has detailed information about the process and supports metho
ds that let you start and stop the process. You can also use the parameters of Get-Process to get file version info
rmation for the program that runs in the process and to get the modules that the process loaded.