8
0
Skriptentwickung/test/windows-shutdown.ps1
2024-01-24 16:42:38 +01:00

6 lines
153 B
PowerShell

$time = 120
$server = "mycomputer"
$comment = "this is my comment."
$reboot = @("/r", "/t", $time, "/m", "\\$server", "/c", $comment)
& shutdown $reboot