Stop-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.
Stop-Process
Short description Stops one or more running processes. Syntax Stop-Process [-Id] <Int32[]> [-Force] [-PassThru] [-Confirm] [-WhatIf] [<CommonParameters>] Stop-Process -InputObject <Process[]> [-Force] [-PassThru] [-Confirm] [-WhatIf] [<CommonParameters>] Stop-Process -Name <string[]> [-Force] [-PassThru] [-Confirm] [-WhatIf] [<CommonParameters>] Description The Stop-Process cmdlet stops one or more running processes. You can specify a process by process name or process I D (PID), or pass a process object to Stop-Process. Stop-Process works only on processes running on the local compu ter. On Windows Vista and later versions of Windows, to stop a process that is not owned by the current user, you must s tart Windows PowerShell with the "Run as administrator" option. Also, you are prompted for confirmation unless you use the Force parameter.