I needed to be able to send an email 24 hours before a server is rebooted via a scheduled task. In order to achieve this I have a task that will reboot the server called „Computer reboot for updates”. The below script gathers the Next Run time of the scheduled task for the server...