Stop-PdProcess
PackageDeployment Module Help |
Package Deployment Module |
Stop-PdProcess Cmdlet |
Version 4.0.0.5 |
Stop-PdProcess
Synopsis
Terminate a Process
Syntax
Stop-PdProcess [-Name] <String> [[-NameOf] <String>] [[-Select] <String>] [-ContinueOnError] [-IncludeChildren] [-SupportUninstall] [[-Context] <String>] [<CommonParameters>]
Description
Use this command to terminate any process. The command checks all processes currently running and terminates the required process and/or application. Please note that any unsaved data may be lost!
Parameters
-Context <String> |
||||||
User: Execution under user account; logging in HKEY_CURRENT_USER, i.e. for the user. |
||||||
|
-ContinueOnError <SwitchParameter> |
||||||
Continues script execution in spite of errors in the respective command |
||||||
|
-IncludeChildren <SwitchParameter> |
||||||
Select the box to terminate any associated child processes. |
||||||
|
-Name <String> |
||||||
Select the type of process to terminate by clicking an option from the Identify process by pane. Use either ? or * wildcards to identify a single or multiple characters respectively. |
||||||
|
-NameOf <String> |
||||||
File: If you enter, for example, Winword.exe, WinWord will be terminated. If you enter Winwor*, also Winword will be terminated. |
||||||
|
-Select <String> |
||||||
FirstMatch: Only the first process on the list of all running processes will be terminated. If there are several instances of an application, only one will be terminated. In this case, you need to call the command several times |
||||||
|
-SupportUninstall <SwitchParameter> |
||||||
Also terminates processes during an uninstallation. |
||||||
|
<CommonParameters> |
For more information about common parameters, type "Get-Help about_CommonParameters". |