mirror of
https://github.com/fleschutz/PowerShell.git
synced 2025-05-04 07:34:48 +02:00
46 lines
2.5 KiB
Markdown
46 lines
2.5 KiB
Markdown
## close-program.ps1 - Closes a program's processes
|
|
|
|
This script closes a program's processes gracefully.
|
|
|
|
## Parameters
|
|
```powershell
|
|
C:\Users\Markus\Repos\PowerShell\Scripts\close-program.ps1 [[-FullProgramName] <String>] [[-ProgramName] <String>]
|
|
[[-ProgramAliasName] <String>] [<CommonParameters>]
|
|
|
|
Erforderlich? false
|
|
Position? 1
|
|
Standardwert
|
|
Pipelineeingaben akzeptieren?false
|
|
Platzhalterzeichen akzeptieren?false
|
|
|
|
Erforderlich? false
|
|
Position? 2
|
|
Standardwert
|
|
Pipelineeingaben akzeptieren?false
|
|
Platzhalterzeichen akzeptieren?false
|
|
|
|
Erforderlich? false
|
|
Position? 3
|
|
Standardwert
|
|
Pipelineeingaben akzeptieren?false
|
|
Platzhalterzeichen akzeptieren?false
|
|
|
|
[<CommonParameters>]
|
|
This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction,
|
|
WarningVariable, OutBuffer, PipelineVariable, and OutVariable.
|
|
```
|
|
|
|
## Example
|
|
```powershell
|
|
PS> ./close-program "Google Chrome" "chrome.exe"
|
|
|
|
```
|
|
|
|
## Notes
|
|
Author: Markus Fleschutz · License: CC0
|
|
|
|
## Related Links
|
|
https://github.com/fleschutz/PowerShell
|
|
|
|
*Generated by convert-ps2md.ps1 using the comment-based help of close-program.ps1*
|