For the complete documentation index, see llms.txt. This page is also available as Markdown.

Windows Updates

PowerShell script to silently install Windows updates.

Overview

This script uses the PSWindowsUpdate module to apply Windows updates silently, ignoring reboots. It also applies updates to installed Microsoft products.

Prerequisites: This script has no prerequisites.


Script

https://github.com/wise-io/scripts/blob/main/scripts/UpdateWindows.ps1

Examples

This example installs the PSWindowsUpdate module, checks for all Windows updates and installs them. Reboots are ignored.


Parameters

While this script has no parameters, the PSWindowsUpdate module has many. I have included Get-Help output on parameters for reference.

Module Version: 2.2.0.3

Last updated