workans
This commit is contained in:
1 parent
aa65a8b9d0
commit
c566a1a79b
1 file changed
+2
@@ -62,6 +62,7 @@ webhook "FORCING OFF FROM WINDOWS AT $reboot_time" true
|
|||||||
chkdsk /r C:
|
chkdsk /r C:
|
||||||
pause # pause for clarity
|
pause # pause for clarity
|
||||||
|
|
||||||
|
Start-Process -ScriptBlock {
|
||||||
# Do the sleep
|
# Do the sleep
|
||||||
Start-Sleep -Seconds $total_wait_seconds
|
Start-Sleep -Seconds $total_wait_seconds
|
||||||
|
|
||||||
@@ -74,3 +75,4 @@ shutdown -r -f -t ($total_wait_seconds+10) # 10 second bonus to defer to Start-M
|
|||||||
## wastes time
|
## wastes time
|
||||||
## does the actual reboot
|
## does the actual reboot
|
||||||
Start-MpWDOScan
|
Start-MpWDOScan
|
||||||
|
}
|
||||||
Reference in new issue
Block a user