okie now its proper ig lmao

This commit is contained in:
2025-12-12 21:52:25 -07:00
parent 4e6ec7338d
commit 46dc7e10b0
+1
View File
@@ -19,6 +19,7 @@ Write-Host "`nREBOOTING AT $RebootTime`n"
# Start-Job to fork the script block to background so it can proceed with the timer/shutdown even if no interaction with alert box
Start-Job -ScriptBlock {
# the $using: method lets me adjusst the scope of $RebootTime and get it in this script block
$RebootTime = $using:RebootTime
# add the presentation framework in