Fix non-functioning code

This commit is contained in:
Manuel Thalmann 2023-07-16 10:55:25 +02:00
parent 4fd85abf67
commit 93b41e9f0a

View file

@ -284,7 +284,8 @@ class Context {
[void] Reboot() {
Write-Host "Restarting Computer...";
$this.RegisterReboot();
Restart-Computer -Timeout 60;
Restart-Computer;
Start-Sleep 60;
Restart-Computer -Force;
exit;
}