Schedule a task that uses the shutdown command.Text

shutdown /l /f