Skip to content

PowerShell automation scripts for Windows Server patch management, update detection, installation, logging, and reporting.

Notifications You must be signed in to change notification settings

eyouel-cloud/Windows-Patching-Automation

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 

Repository files navigation

Windows Server Patching Automation (PowerShell)

This project demonstrates patching automation using PowerShell and the Windows Update API.

Goals

  • Detect and list available Windows updates.
  • Install updates with logging to a timestamped file.
  • Generate a simple CSV-style summary from log files.

These scripts are for lab / demo use and should be adapted before production use.

Scripts

  • Scripts/Check-Patches.ps1 – Enumerates available updates.
  • Scripts/Install-Patches.ps1 – Installs updates and logs output.
  • Scripts/Generate-Report.ps1 – Parses logs into a lightweight summary.

Example Workflow

  1. Run:

    .\Scripts\Check-Patches.ps1
  2. Install updates:

    .\Scripts\Install-Patches.ps1
  3. Generate summary:

    .\Scripts\Generate-Report.ps1
  4. Review the generated CSV and logs in the Logs folder.

This demonstrates operational patch management, logging, and basic reporting.

Author

Eyouel Melaku

About

PowerShell automation scripts for Windows Server patch management, update detection, installation, logging, and reporting.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published