daknetworks.com

You are here: Blog Schedule a Restart with Command Line & Powershell

Schedule a Restart with Command Line & Powershell

Usually I schedule a restart with some network tools I have. But in this case, I can remotely access the system via command-line/powershell but my network tools are not working. Probably because it needs a reboot after installing some updates.

Here's how to schedule a reboot with command line/powershell (works in either):

  • -click START > RUN
  • -type: cmd (or type: powershell)
  • -click OK
  • -type: schtasks /create /sc once /tn restart /tr “shutdown -r -f “”restart””” /st 13:00 /RU system
    Where "/st" is the time in 24H clock and "/ru" is necessary to run even if the user is logged in or not.

Contact Dak Networks

We are not taking on new clients at this time.