mirror of
https://github.com/fleschutz/PowerShell.git
synced 2025-08-08 20:54:38 +02:00
Moved .ps1 files to subdir Scripts/
This commit is contained in:
10
Scripts/poweroff.ps1
Executable file
10
Scripts/poweroff.ps1
Executable file
@ -0,0 +1,10 @@
|
||||
# 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
|
Reference in New Issue
Block a user