Skip to main content

Invoke-UninstallHideUpdate

Description​

Uninstalls, then hides, a specified list of KB articles.

Requirements​

Requires manual reboot if necessary.

Usage​

Uses the PSWindowsUpdate module to hide and uninstall the provided KB articles.

C:> ./Invoke-UninstallHideUpdate -KBArticles "KB100000","KB200000"

Parameters​

ParameterAliasRequiredDefaultTypeDescription
$KBArticlesTrueStringAccepts a string array separated by commas.

Output​

Location of output for log, result, and error files.

.\Invoke-UninstallHideUpdate-log.txt
.\Invoke-UninstallHideUpdate-error.txt

Changelog​

2025-04-10​

  • Initial version of the document