GeezerVison is showing github.com — GitHub - bitwire-it/scripts
Folders and files
| Name | Name | Last commit message | Last commit date |
|---|
| | | |
| | | |
|
Repository files navigation
Invoke-ScheduledShutdownPrompt.ps1
| Code |
Meaning |
Trigger |
0 |
User requested 30-minute extension |
"Keep Working" / "Lavora ancora" clicked |
1 |
Machine shut down |
Timeout, "Shut Down Now" / "Spegni ora" clicked, or unhandled error |
- On launch a dialog appears on top of all windows and cannot be minimized or dismissed via the title bar.
- A 60-second countdown timer with a draining progress bar gives the user a clear visual of remaining time.
- At 30 seconds remaining the UI shifts to red and prompts the user to save their files immediately.
- On timeout or "Shut Down Now" the script executes
shutdown.exe /s /t 0 and exits with code 1.
- On "Keep Working" the script exits with code 0 and does nothing — the RMM operator is expected to handle the extension workflow based on the exit code.
About
No description, website, or topics provided.
Resources
Stars
1 star
Watchers
0 watching
Forks