1754737908

This commit is contained in:
2025-08-09 05:11:48 -06:00
parent 1847b249be
commit 50a79cbe95
+1 -1
View File
@@ -38,5 +38,5 @@ Start-Job -ScriptBlock {
$shell.Popup("REBOOTING BY FORCE IN $grace_minutes MINUTES", 2, "REBOOTING AS FUCK IN $grace_minutes MINUTES", 0) ## reboot, force, delay $grace_seconds seconds $shell.Popup("REBOOTING BY FORCE IN $grace_minutes MINUTES", 2, "REBOOTING AS FUCK IN $grace_minutes MINUTES", 0) ## reboot, force, delay $grace_seconds seconds
## must use fuckin cmd bullshit grumble grumble ## must use fuckin cmd bullshit grumble grumble
## cancel with shutdown /a ## cancel with shutdown /a
Invoke-Expression "shutdown.exe" -ArgumentList /f /r /t $grace_seconds Start-Process -FilePath shutdown.exe -ArgumentList "/f /r /t $grace_seconds"
} | Out-Null # no bizzle } | Out-Null # no bizzle