mirror of
https://github.com/fleschutz/PowerShell.git
synced 2024-11-23 16:33:20 +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
|