Sometimes you need to schedule a reboot in the middle of the night for maintenance reasons. We used to use a VBScribt, but this is a better method that can be simply scheduled

shutdown /r /f /d p:2:4 /c "Maintenance Reboot"

/r = reboot

/f = force (in case someone left themselves logged in)

/d = reason, p means planned and the numbers 2:4 mean Operating System: Reconfiguration

/c = comment, which is in the quotes