Powershell script that I’m just messing with at this point. The idea is that the admin (in this case me) is lazy and doesn’t want to remote in later to approve updates. Uses WSUS built in Powershell commands but makes it easier for the average user to do on a regular basis.
- Edit the top lines of both scripts for your institution
- Run Select-WSUSToSchedule to pick the updates that you want to approve later. I’ve chosen to select updates that have been Approved and are Failed or Needed. That works in our environment because we approve for test groups first. If you want to use this script for brand new updates, change that line of code from Approved to Unapproved.
- Create a scheduled task to run Approve-WSUSUpdates after hours
Work in progress… More to come…
Pick updates now and approve them later. Useful for low bandwidth locations where approving during business hours could be catastrophic.