The Daily Reboot (with execution check)
To workaround memory leaks in its application, one of my customers had an old bad thing on its webservers: a scheduled perl script to reboot the servers each day which uses the ‘Win32::InitiateSystemShutdown’ function. Let’s improve it a little bit with powershell.
Daily Reboot | Schedule a reboot and check its execution