This PowerShell script reboots the local computer (needs admin rights).
reboot.ps1 [<CommonParameters>]
[<CommonParameters>]
This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction,
WarningVariable, OutBuffer, PipelineVariable, and OutVariable.
PS> ./reboot
Author: Markus Fleschutz / License: CC0
https://github.com/fleschutz/PowerShell
Generated by convert-ps2md.ps1 using the comment-based help of reboot.ps1