Scheduling a Reboot Powershell

Purpose: The purpose of this standard operating procedure is to document the correct and approved method for scheduling reboots on Windows 8/8.1/10 and Windows Severs 2012, 2012 r2,

  1. Navigate to Start Menu > Programs > Administrative Tools
  2. Click on Task SchedulerSchedule Reboot Powershell	Schedule Reboot Windows	Scheduled Windows Reboot
  3. In the Task Scheduler window, click Create TaskSchedule Reboot Powershell	Schedule Reboot Windows	Scheduled Windows Reboot
  4. In the create task window on the general tab, do the following
    1. Name: Reboot
    2. Location: Leave Blank
    3. Description (Optional): Enter text that describes the scheduled task
    4. Check Run Whether User is Logged in or Not
    5. Select the correct Operating System configurationSchedule Reboot Powershell	Schedule Reboot Windows	Scheduled Windows Reboot
  5. Click the Triggers tab
  6. Click NewSchedule Reboot Powershell	Schedule Reboot Windows	Scheduled Windows Reboot
  7. Configure the new trigger:
    1. Under Settings, select the frequency with which the task will run
    2. Select the Start Time
    3. Select the Start Date
    4. Check Enable
    5. Click OKSchedule Reboot Powershell	Schedule Reboot Windows	Scheduled Windows Reboot
  8. Click the Actions tab
  9. Click NewSchedule Reboot Powershell	Schedule Reboot Windows	Scheduled Windows Reboot
  10. Configure the new action:
    1. Set Action to Start a Program
    2. Under Program/Script type: Powershell
    3. Under Add Argument type: restart-computer -force
    4. Click OKSchedule Reboot Powershell	Schedule Reboot Windows	Scheduled Windows Reboot
  11. Click Ok
  12. Click Ok
  13. You will be prompted to credentials to allow for execution without being logged in. Enter your password.
  14. Click OK

Click to download PDF Version

VanTech IT Consulting | NJ

175 North Main Street, Wharton NJ, 07885
(973) 744-1660