Skip to content

A simple powershell script to create a scheduled task that checks for updates on Windows Server Core 2016 (Likely works on 2016+) and installs them, then reboots, once a week (Default Saturday at 3AM). If you are going to use this, make sure you understand what the script is doing, and that you want your server to be affected by this script.

License

Notifications You must be signed in to change notification settings

OddPrograms/PSWindowsServerCoreUpdateTask

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 

Repository files navigation

Usage

  • Copy the script to a desired location (The script will look in C:\Scripts, if you wish to use a different location you must specify it on line 5).
  • Enter Powershell in your terminal (I.E. >powershell)
  • Go to the script location and enter .\windows-server-update.ps1
  • A task will be created called "Windows Update Checker" that will run at Satuday 3AM every week.

About

A simple powershell script to create a scheduled task that checks for updates on Windows Server Core 2016 (Likely works on 2016+) and installs them, then reboots, once a week (Default Saturday at 3AM). If you are going to use this, make sure you understand what the script is doing, and that you want your server to be affected by this script.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published