Set-WindowsUpdateShown
Description
The Set-WindowsUpdateShown
command manually unhides provided KB articles from Windows Update using the PSWindowsUpdate module.
Requirements
None
Usage
This command takes an array of KB articles and unhides them using the following PowerShell commands:
Get-WindowsUpdate -Show
Set-WindowsUpdateHidden -KBArticles "KB12345667", "KB123456334"
Parameters
Parameter | Alias | Required | Default | Type | Description |
---|---|---|---|---|---|
-KBArticles | True | String | List of KB articles to unhide |
Output
The location of output for log, result, and error files:
.\Set-WindowsUpdateShown-log.txt
.\Set-WindowsUpdateShown-data.txt
.\Set-WindowsUpdateShown-error.txt