Powershell script to display message box to user giving them the option to restart now or later
I required a script that would run automatically for a user from a RunOnce key. This powershell script gives the user a message box asking if they would like to restart now or later. If they choose “yes” it will reboot now, if they choose “No” or “Cancel” it will not restart but will give…