mirror of
https://github.com/fleschutz/PowerShell.git
synced 2024-12-24 15:49:02 +01:00
13 lines
311 B
PowerShell
Executable File
13 lines
311 B
PowerShell
Executable File
#!/snap/bin/powershell
|
|
#
|
|
# PowerShell Script to Shutdown the Local Computer
|
|
# ------------------------------------------------
|
|
# Author: Markus Fleschutz
|
|
# Source: github.com/fleschutz/PowerShell
|
|
# License: CC0
|
|
#
|
|
# NOTE: Halts the local computer! Administrator rights might be needed!
|
|
|
|
Stop-Computer
|
|
exit 0
|