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?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
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.
0
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
0
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"

0

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
OWASP: Avoiding Hacker Tricks

Learn to build secure applications from the mindset of the hacker and avoid being exploited.

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.
0
TiazfaDAuthor Commented:
Dear Ramin / Tapan,

Thanks much!!

Regards,
T
0
TiazfaDAuthor Commented:
Thank you all!!

Regards,
T
0
RaminTechnical AdvisorCommented:
I'm glad I could help. Thanks
0
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.