PowerShell/Scripts/poweroff.ps1
2020-06-15 16:13:26 +02:00

11 lines
238 B
PowerShell
Executable File

#!/snap/bin/powershell
#
# Description: halts the local computer, administrator rights are required
# Author: Markus Fleschutz
# Source: github.com/fleschutz/PowerShell
# License: CC0
#
#Requires -RunAsAdministrator
Stop-Computer
exit 0