Contents
/classification update_classification
/classification update_classification
Available in WuInstall Pro
Each update has a certain classification. It is possible to filter results of a search (which match the specified criteria) by classifications.
Classifications are:
o Critical Updates: Broadly released fixes for specific problems addressing critical, non-security related bugs.
o Updates: Broadly released fixes for specific problems addressing non-critical, non-security related bugs.
o 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).
o Security Updates: Broadly released fixes for specific products, addressing security issues.
o 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.
o Feature Packs: New feature releases, usually rolled into products at the next release.
o Definition Updates: Updates to virus or other definition files.
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)
For example
WUInstall.exe /search /criteria "IsInstalled=1" /classification CRSE generates the following output:
Searching for updates ... Criteria: IsInstalled=1 Result Code: Succeeded 96 Updates found in total, filtering ... Listing those matching following classifications: Critical Updates Update Rollups Security Updates Service Packs |
Available in WuInstall Pro
Each security update has a certain severity level. It is possible to filter results of a search (which match the specified criteria) by severity levels.
Severity levels are:
o Critical: A security issue whose exploitation could allow the propagation of an Internet worm without user action.
o Important: A security issue whose exploitation could result in compromise of the confidentiality, integrity, or availability of users' data, or of the integrity or availability of processing resources.
o Moderate: Exploitation is mitigated to a significant degree by factors such as default configuration, auditing, or difficulty of exploitation.
o Low: A security issue whose exploitation is extremely difficult, or whose impact is minimal.
o Unknown: all updates, which are not a security update.
You can combine severity levels by just combining the letters:
C (Critical)
I (Important)
M (Moderate)
L (Low)
U (Unknown)
So the command
WUInstall.exe /search /severity CIU
filters the result list of the search to contain only updates with severity Critical, Important and Unknown:
Searching for updates ... Criteria: IsInstalled=0 and Type='Software' Result Code: Succeeded 30 Updates found in total, filtering ... Listing those matching following severities: Critical Important Unknown |
Available in WuInstall Pro
Each update belongs to a product (for example Office 2007, Windows 7, Forefront Client Security, ...). It is also possible to filter results of a search (which match the specified criteria) by a product name.
No wildcards are possible, the product name has to be an exact match. Currently, you can only filter one product.
So for example the command
WUInstall.exe /search /criteria IsInstalled=1 /product "Forefront Client Security"
gives the following output:
Searching for updates ... Criteria: IsInstalled=1 Result Code: Succeeded 96 Updates found in total, filtering ... Listing product: 'Forefront Client Security' |
This option filters each update in the result list if the title of an update matches the search string specified with the regexp parameter (in WuInstall Pro, also regular expressions are possible).
You can search, for example, just for all updates matching KB890830 with:
WUInstall.exe /search /match KB890830 /criteria IsInstalled=1
Searching for updates ... Criteria: IsInstalled=1 Result Code: Succeeded 96 Updates found in total, filtering ... Listing those matching search expression: 'KB890830' 1. Windows Malicious Software Removal Tool - August 2010 (KB890830) Severity: Unknown UpdateClassification - Update Rollups Product - Windows 7 |
With using regular expressions, you can do some more complex queries. For a good explanation of regular expressions see http://www.cs.tut.fi/~jkorpela/perl/regexp.html
For example, searching for all updates that match "Internet Explorer 8", the Term "Language" or "KB89", you type:
WuInstall /search /match "(Language|KB93|Internet Explorer)"
Searching for updates ... Criteria: IsInstalled=1 Result Code: Succeeded 96 Updates found in total, filtering ... Listing those matching search expression: '(Language|KB89|Internet Explorer)' 1. Update for Microsoft Office Language Pack 2007 (for Office Outlook 2007 with Business Contact Manager ) (KB946307) Severity: Unknown UpdateClassification - Critical Updates Product - Office 2007 2. Update for Internet Explorer 8 Compatibility View List for Windows 7 (KB98263 2) Severity: Unknown UpdateClassification - Updates Product - Windows 7 3. Update for Internet Explorer 8 Compatibility View List for Windows 7 (KB98266 4) Severity: Unknown UpdateClassification - Updates Product - Windows 7 4. Cumulative Security Update for Internet Explorer 8 for Windows 7 (KB2183461) Severity: Critical UpdateClassification - Security Updates Product - Windows 7 5. Windows Malicious Software Removal Tool - August 2010 (KB890830) Severity: Unknown UpdateClassification - Update Rollups Product - Windows 7 |
Available in WuInstall Pro
This is quite the opposite of the /match option: it filters out all the updates that do match the regular expression and displays the rest (=the updates which do NOT match).
Obviously it is very useful for excluding certain updates.
For example, to filter out all updates that do not contain the words "Microsoft" or "Windows" (there are not many updates that do so ...) use:
WUInstall.exe /search /criteria "IsInstalled=1" /nomatch (Windows|Microsoft)
Searching for updates ... Criteria: IsInstalled=1 Result Code: Succeeded 96 Updates found in total, filtering ... Listing those NOT matching search expression: '(Windows|Microsoft)' 1. MSXML 6.0 RTM Security Update (925673) Severity: Critical UpdateClassification - Security Updates Product - SQL Server Feature Pack 2. Update for Business Contact Manager for Outlook 2007 (KB946140) Severity: Unknown UpdateClassification - Critical Updates Product - Office 2007 3. Security Update for SQL Server 2005 Service Pack 3 (KB970892) Severity: Critical UpdateClassification - Security Updates Product - SQL Server 2005 4. Update Rollup 10 for Exchange Server 2007 Service Pack 1 (KB981407) Severity: Unknown Product - Exchange Server 2007 UpdateClassification - Update Rollups |
Of course, /match and /nomatch can also be combined.
Available in WuInstall Pro
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.
For example, create the file "updateList.txt" with the following content:
Security State Assessment 1.0 KB963671 KB975467 .NET Framework 3.5 SP1 Security |
The match entries are separated with a newline. The file has to be either in UTF-8, ANSI or DOS character set. UTF-16 is not supported.
WuInstall lists all the updates in the result list, which match AT LEAST ONE of the lines in the file.
If you type
WUInstall.exe /search /matchfile c:\updateList.txt
WuInstall gives for example the following result list:
95 Updates found in total, filtering ... Listing those matching search expressions in file: 'c:\updateList.txt' 1. Update for Microsoft Script Editor Help (KB963671) Severity: Unknown Product - Office 2007 UpdateClassification - Updates 2. Security Update for Windows 7 (KB975467) Severity: Important UpdateClassification - Security Updates Product - Windows 7 3. Definition Update for Microsoft Forefront Client Security (Security State Assessment 1.0.1710.103 Full) Severity: Unknown UpdateClassification - Definition Updates Product - Forefront Client Security 4. Microsoft .NET Framework 3.5 SP1 Security Update for Windows 7 x86 (KB979916) Severity: Important UpdateClassification - Security Updates Product - Windows 7 |
This option is useful when you keep a central list of updates to be rolled out on your machines in a shared directory (use this list as the matchfile).
Available in WuInstall Pro
/nomatchfile is quite the opposite of the /matchfile option: use it if you want to specify multiple /nomatch paramters (if you want to exclude a list of updates).
WuInstall lists all the updates in the result list, which match NONE of the lines in the file.
Just write the update matches that should be excluded (regular expressions are supported) into a file and specify this file as the nomatchfile.
For example, create the file "exclude.txt" with the following content:
Windows Microsoft 925673 Office |
The exclude entries are separated with a newline. The file has to be either in UTF-8, ANSI or DOS character set. UTF-16 is not supported.
If you type
WUInstall.exe /search /nomatchfile c:\exclude.txt
WuInstall puts out for example the following result list: 95 Updates found in total, filtering ... Listing those NOT matching search expressions in file: 'c:\exclude.txt' 1. Update for Business Contact Manager for Outlook 2007 (KB946140) Severity: Unknown UpdateClassification - Critical Updates Product - Office 2007 2. Security Update for SQL Server 2005 Service Pack 3 (KB970892) Severity: Critical UpdateClassification - Security Updates Product - SQL Server 2005 3. Update Rollup 10 for Exchange Server 2007 Service Pack 1 (KB981407) Severity: Unknown Product - Exchange Server 2007 UpdateClassification - Update Rollups |
Available in WuInstall Pro
This options filters updates which have already been downloaded to the local cache.
You can call for example WuInstall with the /download options combined with some filters to download all available updates:
30 Updates found in total, filtering ... Listing those matching search expression: 'Greek' 1. Greek Language Pack - Windows 7 (KB972813) Severity: Unknown UpdateClassification - Updates Product - Windows 7 Language Packs Downloading updates ... Downloading Greek Language Pack - Windows 7 (KB972813):
|
and then later use:
WUInstall.exe /install /isdownloaded 1
You will get following output:
30 Updates found in total, filtering ... Listing only updates which are already downloaded 1. Greek Language Pack - Windows 7 (KB972813) Severity: Unknown UpdateClassification - Updates Product - Windows 7 Language Packs |
Deleting updates manually from the local download cache (usually Windows\SoftwareDistribution\Download) might cause this option to work incorrectly, because even deleted they are still considered as downloaded.
Created with the Personal Edition of HelpNDoc: Create HTML Help, DOC, PDF and print manuals from 1 single source