Fix non-functioning code
This commit is contained in:
parent
4fd85abf67
commit
93b41e9f0a
1 changed files with 2 additions and 1 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue