1 工欲善其事, its prerequisite. This article uses the Windows Update PowerShell Module, the PowerShell Cmdlet, so you need to go to the Web to download it first.
2 The Pswindowsupdate folder that is extracted from the downloaded ZIP package is copied to the following directory:
C:windowssystem32windowspowershellv1.0modules
3 Search Powershell and right-click to open with Administrator privileges
By default, PowerShell is restricted from executing any external scripts, and we need to use the following command to unlock the restrictions:
Set-executionpolicy Unrestricted
4 after the default execution policy is changed we can execute the script freely in the PowerShell, we first use the following command to get the current list of updates available to Windows 10:
Get-wulist
5 When all available updates are listed, we can hide unwanted patches by title (title):
Hide-wuupdate-title "microsoft*"
Please note that you can use wildcard characters to change the parameters behind the title to the patch title you want to hide.
6 of course, one of the most straightforward ways to make mistakes is to use KB IDs to hide patches:
Hide-wuupdate-kbarticleid KB3080333
7 It has been noted that in the status (state) with H logo is actually a hidden patch, if you no longer want to hide it, to restore, you can use Get-wulist to list all available patches, and then use the following command to close the hidden properties can be restored:
Hide-wuupdate-kbarticleid Kb3080333-hidestatus: $false