From e5b31d81a26d14bec077fb843290d074a3137064 Mon Sep 17 00:00:00 2001 From: PrincessPi3 Date: Sat, 9 Aug 2025 10:06:20 -0600 Subject: [PATCH] 1754755581 --- Windows-Scripts/force_me_off.ps1 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Windows-Scripts/force_me_off.ps1 b/Windows-Scripts/force_me_off.ps1 index 2a71892..b2868fd 100644 --- a/Windows-Scripts/force_me_off.ps1 +++ b/Windows-Scripts/force_me_off.ps1 @@ -32,7 +32,7 @@ Write-Host "`nSleeping for $Hours hours $Minutes minutes and forking to backgrou webhook "SCHEDULED REBOOT AT $reboot_time" # popup -$popup_shell.Popup("REBOOTING BY FORCE IN $Hours HOURS $Minutes MINUTES AT $reboot_time", 2, "REBOOTING AS FUCK IN $total_wait_minutes MINUTES", 0) | Out-Null +$popup_shell.Popup("REBOOTING BY FORCE IN $Hours HOURS $Minutes MINUTES AT $reboot_time", 2, "REBOOTING AS FUCK IN $total_wait_minutes MINUTES", 0) # | Out-Null function do_admin_shit { # handle interactive shit right away @@ -44,7 +44,7 @@ function do_admin_shit { # popup ## $popup_shell.Popup(string , int , string , int ) - $popup_shell.Popup("REBOOTING BY FORCE IN $grace_minutes MINUTES", 2, "REBOOTING AS FUCK IN $grace_minutes MINUTES", 0) | Out-Null ## reboot, force, delay $grace_seconds seconds + $popup_shell.Popup("REBOOTING BY FORCE IN $grace_minutes MINUTES", 2, "REBOOTING AS FUCK IN $grace_minutes MINUTES", 0) # | Out-Null ## reboot, force, delay $grace_seconds seconds Start-Sleep -Seconds $grace_seconds && Start-Process -Verb RunAs -FilePath powershell.exe -ArgumentList '-C "Start-MpWDOScan"' }