Hey Experts. Wasn't sure if this was even possible with a batch file so if the answer is no, that works for me. If it can be done but with Powershell or other utility, great, but that isn't an option right now.
Essentially I have an in-house script that our helpdesk launches on the end-users PC that gathers various pieces of info when they are trouble-shooting an issue. They review the details of the log file and decide how to proceed. One piece of info captured relates to which Windows Updates are installed.
wmic qfe get hotfixid,installedon >> %logfile%
The output is great but I want the results sorted by the date the update was installed or by the HotFixID. I wasn't sure what the format option would be for that.