mirror of
https://github.com/fleschutz/PowerShell.git
synced 2024-12-02 21:04:54 +01:00
18 lines
373 B
PowerShell
Executable File
18 lines
373 B
PowerShell
Executable File
<#
|
|
.SYNOPSIS
|
|
Closes the Task Manager
|
|
.DESCRIPTION
|
|
This script closes the Task Manager application gracefully.
|
|
.EXAMPLE
|
|
PS> ./close-task-manager
|
|
.NOTES
|
|
Author: Markus Fleschutz · License: CC0
|
|
.LINK
|
|
https://github.com/fleschutz/PowerShell
|
|
#>
|
|
|
|
#Requires -RunAsAdministrator
|
|
|
|
& "$PSScriptRoot/close-program.ps1" "Task Manager" "Taskmgr" "Taskmgr.exe"
|
|
exit 0 # success
|