Display Installed Hotfixes

A command to Display Installed Hotfixes.

A Command which can display installed Hotfixes of local and remote server, This command runs locally using WMI scripts to gather data of your local or remote system and give the output either on your screen or save the output file depending on the switches you will use with the command.

You may use GUI based tool from here

Syntax
Listhotfixes

This command is useful in a scenario when you require to gather data on weekly or monthly basis to create a patching report of your network, this command works as non interactive mode means you can use this command with a windows schedule tasks to run according to the schedule.

Options

/RS: Remote Host IP (x.x.x.x) or Remote Host Name
/H: Filter data by hotfix id.
/B: Filter Data Installed by.
/O: File will be saved in text format
/OC: File will be saved in CSV Format

Best part of the command is to filter data which is required by you, suppose you want to search a patch KBxxxxx in you network weather this patch is installed or not and want to save output to the file than you can run this command
listhotfixes /h: HotfixID

How to use: Download compressed file and extract it to folder, Run executable file and give destination path to save a command. Open command prompt and go to the path where you have saved this command.

Display Installed HotFixes
Display Installed Hotfixes

output of command contains various fields (System Name, Description, Hot Fix ID, Install Date, Installed by)

Example

This command will display installed hotfixes of the local system.
listhotfixes

This command will display installed hotfixes of the remote system.
listhotfixes /rh: Remote_System_IP

This command will filter output and display hotfixes whose hotfix id contain “981” which might be
“KB981xxx”,”KBxxx981″, “KBx981xx”
listhotfixes /h: 981

This command will filter data Hotfix Installed by user
listhotfixes /b:user

ListHotfix (222.6 KiB)

Leave a Reply