I’m glad you guys do things like this it’s awesome. At my company we like to do a weekly restart for all machines on Friday at midnight besides our Police Department for the obvious reasons just so things continue to run smoothly and how we’ve set that up is through SCHTASKS.
schtasks /create /sc weekly /d FRI /tn "auto reboot computer weekly" /st 24:00 /tr "shutdown -r -f -t 10"