Windows update check through command line

TiazfaD
TiazfaD used Ask the Experts™
on
Dear All,

Is there a way to check the list of windows updates that have been applied , through the command line, for Servers,

Thanks,
T
Comment
Watch Question

Do more with

Expert Office
EXPERT OFFICE® is a registered trademark of EXPERTS EXCHANGE®
Qlemo"Batchelor", Developer and EE Topic Advisor
Top Expert 2015

Commented:
I assume you are not using WSUS? Are you more inclined to get a PowerShell or a cmd.exe output? This really depends on what you want to do with the result.

Author

Commented:
Dear Ramin,

Thanks a lot! how about for Server 2003. What are the options to list all the updates that are there and those that were installed.

Regards,
T
Technical Advisor
Commented:
The following command(s) work in both the 'regular' command prompt and PowerShell, also for both Windows Server 2003 and Windows Server 2008:

wmic qfe get Hotfixid

to find if a specific update was installed:

wmic qfe | find "123456"

Bootstrap 4: Exploring New Features

Learn how to use and navigate the new features included in Bootstrap 4, the most popular HTML, CSS, and JavaScript framework for developing responsive, mobile-first websites.

Commented:
run "systeminfo" in a CMD window and it will pull back a load of statistics about your system including what patches are installed.

Author

Commented:
Dear Ramin / Tapan,

Thanks much!!

Regards,
T

Author

Commented:
Thank you all!!

Regards,
T
RaminTechnical Advisor

Commented:
I'm glad I could help. Thanks

Do more with

Expert Office
Submit tech questions to Ask the Experts™ at any time to receive solutions, advice, and new ideas from leading industry professionals.

Start 7-Day Free Trial