I was curious if there’s a .Net API that would allow me to identify what updates are pending for ‘Windows Update,’
failing that, is there a windows powershell command that can get it?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
The Windows Update Agent API may be what you’re looking for:
http://msdn.microsoft.com/en-us/library/aa387287%28VS.85%29.aspx
It’s a COM interface (not .NET native) but you can consume that from your application.