I'm wanting to create a small application that will allow me to schedule a machine to shutdown at a specific time. Any suggestions on how I can make this .exe run at a specific time besides using the Task Scheduler?

Also,
I want to run shutdown -s inside a function. How would i do this?

This solved it for me.

Process.Start("shutdown","-s -t 00")