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
Parameter | Alias | Required | Default | Type | Description |
---|---|---|---|---|---|
$KBArticles | True | String | Accepts a string array separated by commas. |
Output
Location of output for log, result, and error files.
.\Invoke-UninstallHideUpdate-log.txt
.\Invoke-UninstallHideUpdate-error.txt