Skip to Content

Get-Process


Description
Gets the processes that are running on the local or a remote computer.
Syntax
Get-Process [[-Name] <String[]>] [-ComputerName <String[]>] [-FileVersionInfo] [-Module] [-Verbose] [-Debug] [-ErrorAction <ActionPreference>] [-ErrorVariable <String>] [-OutVariable <String>] [-OutBuffer <Int32>]
Example
Get-Process -Name 'notepad'
Parameters
Name: Optional. Specifies the process names
ComputerName: Optional. Specifies the remote computer names
FileVersionInfo: Optional. Gets the file version information
Module: Optional. Gets the modules that have been loaded by the processes
Return type
System.Diagnostics.Process
Aliases
gps, ps
Supported Windows versions
Windows PowerShell 2.0 and laterWindows 7Windows 8Windows 10Windows 11Windows Server 2008 R2 and later