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 namesComputerName: Optional. Specifies the remote computer namesFileVersionInfo: Optional. Gets the file version informationModule: 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