PowerShell/Scripts/reboot.ps1

11 lines
242 B
PowerShell
Raw Normal View History

2020-05-25 21:21:40 +02:00
#!/snap/bin/powershell
#
2020-06-15 16:13:26 +02:00
# Description: reboots the local computer, administrator rights are required
2020-06-15 14:55:54 +02:00
# Author: Markus Fleschutz
# Source: github.com/fleschutz/PowerShell
# License: CC0
2020-05-02 14:35:58 +02:00
#
2020-06-15 16:13:26 +02:00
#Requires -RunAsAdministrator
2020-04-30 17:51:59 +02:00
Restart-Computer
2020-05-01 11:44:56 +02:00
exit 0