Uptime status (Reboot script)
Description
The scheduled task will trigger a notification when you have left your computer on for to long. Give end users a pop-up after 6 and 7 days of uptime to recommend that they completely shut down the system at the end of the workday after saving all their work. Give end users a pop-up after 8 days of uptime informing them that at 19:00 local time their computer will automatically restart and that they should save their work immediately. Give end users a pop-up after 9 days of uptime informing them that after 2 hours their computer will automatically (and forcibly) restart and that they should save their work immediately.
Target: All devices.
Script language: Powershell.
Credentials
Users
Input
None
Output
None