Quick Actions
Stop-Process
Description
Stops one or more running processes.
Command
Stop-Process
Examples
Stop a process by name
Stop-Process -Name 'Notepad'
Stop a process by ID without a prompt
Stop-Process -Id 1234 -Force
Parameters
Parameter | Type | Required | Description |
---|---|---|---|
[-Name <String[]>] |
string | No | Specifies the names of the processes to stop. |
[-Id <Int32[]>] |
string | No | Specifies the process IDs of the processes to stop. |
[-Force] |
string | No | Stops the processes without prompting for confirmation. |
Command Info
Category:
Process Management
Type:
Powershell
Views:
14
Status:
Active
Tags
powershell
process
kill
terminate