


If reboot is configured with a 5 days interval, the first notification will start from 4 th day. This notification will appear on the user’s device on N-1 day of the actual reboot configured day. We can edit the notification content from XAML code in the script and increase the notification count if required First Notification for the user. The current GUI is designed to look like MECM default restart pop-up notification windows.īelow are the users experience while running the Pop-Up notification. The configuration XAML will be then imported to the PowerShell to get the GUI option for the end-user. All the pop-up windows for the users are configured in the visual studio (WPF). GPO is a prerequisites here to push the PowerShell script and create a task scheduler.Īs per the example provided below we are setting the device to restart every 5 days, restart interval can be easily modified in the script based on the requirement. Here I’m explaining a simple device restart solution that can be achieved through a Task scheduler and PowerShell Script. We have alternate options to perform a scheduled restart if you are using any Client Management applications or any other third party solutions where the cost is involved.
POWERSHELL REBOOT WINDOWS HOW TO
This article explains how to Schedule your computer to reboot at a certain time using PowerShell script and an options for the end-user to defer the restart. Pending reboot devices are always a challenge for IT Professional to meet all the demands associated with SLAs compliance. How to set-up a scheduled device restart using PowerShell with a pop-up notification.
