Windows update check through command line

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
TiazfaDAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Qlemo"Batchelor", Developer and EE Topic AdvisorCommented:
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.
TiazfaDAuthor 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
RaminTechnical AdvisorCommented:
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"

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
Fundamentals of JavaScript

Learn the fundamentals of the popular programming language JavaScript so that you can explore the realm of web development.

Tapan PattanaikSenior EngineerCommented:
run "systeminfo" in a CMD window and it will pull back a load of statistics about your system including what patches are installed.
TiazfaDAuthor Commented:
Dear Ramin / Tapan,

Thanks much!!

Regards,
T
TiazfaDAuthor Commented:
Thank you all!!

Regards,
T
RaminTechnical AdvisorCommented:
I'm glad I could help. Thanks
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Windows OS

From novice to tech pro — start learning today.