...
- Critical Updates: Broadly released fixes for specific problems addressing critical, non-security related bugs.
- Updates: Broadly released fixes for specific problems addressing non-critical, non-security related bugs.
- Update Rollups: Cumulative set of hotfixes, security updates, critical updates, and updates packaged together for easy deployment. A rollup generally targets a specific area, such as security, or a specific component, such as Internet Information Services (IIS).
- Security Updates: Broadly released fixes for specific products, addressing security issues.
- Service Packs: Cumulative sets of all hotfixes, security updates, critical updates, and updates created since the release of the product. Service packs might also contain a limited number of customer-requested design changes or features.
- Feature Packs: New feature releases, usually rolled into products at the next release.
- Definition Updates: Updates to virus or other definition files.
- Upgrades: Windows Upgrade (e.g. Windows 11 22H2)
You can combine classifications by just combining the letters:
- C (Critical Updates)
- U (Updates)
- R (Update Rollups)
- S (Security Updates)
- E (Service Packs)
- F (Feature Packs)
- D (Definition Updates)
- A (Upgrades)
For example
WUInstall.exe /search /criteria "IsInstalled=1" /classification CRSE generates the following output:
...
With the /matchfile option you can specify multiple /match parameters.
Just write the desired update matches (regular expressions are supported) into a file and specify this file as the matchfile.
...
/nomatchfile is quite the opposite of the /matchfile option: use it if you want to specify multiple /nomatch parameters (if you want to exclude a list of updates).
...
WUInstall.exe /search /releasedate lt:20142022-05-06
You will get following output:
Code Block | ||||
---|---|---|---|---|
| ||||
3 Updates found in total, filtering ... Listing those where release date lt 20142022-05-06 1. Microsoft Visual Studio 2010 Service Pack 1 Severity: Unknown UpdateClassification - Service Packs Product - Visual Studio 2010 ID: 230b82d1-3abd-471a-a4f9-23f97fb857d9 Releasedate: 2012-04-05 Eula Accepted: true |
The second way to use this options is to specify a number of days. This If you specify a negative value, this only lists all updates with release date after today minus the given days.
If you specify a positive value (+10) then wuinstall lists all updates that are 10 days or older.
Example:
WUInstall.exe /search /releasedate -+10
This will list all updates which are not older than 10 days:
Code Block | ||||
---|---|---|---|---|
| ||||
3 Updates found in total, filtering ... Listing those with release date afterbefore 20142022-04-26 1. Definition Update for Windows Defender - KB2267602 (Definition 1.173.1428.0) Severity: Unknown UpdateClassification - Definition Updates Product - Windows Defender ID: 4f25e1f8-186e-4d0b-b18c-6dab7c081c09 Releasedate: 20142022-0503-06 Eula Accepted: true |
/maxUpdateCount number
...