c# - How do I get a list of installed updates and hotfixes? -


Microsoft Windows Update or a list of all the updates and hotfixes from the knowledge base, which went to set up my computer. I need as each ID KBxxxxxx or equal representation ...

Currently I have to:

  const String query = "HotFixID from Win32_QuickFixEngineering Choose "; Var Search = New Management Object Search (query); Var Collection = search.Get (); Forex (Management Object Fix Fix Collection) Console Videoline (Quickfix ["hotfixid"] .toasting ());  

But it does not seem to list everything, it only gives a list of QFE.

I need it to work on Windows XP, Vista and 7.

You can use.
return the properties of entries

UpdateSearch = CreateObject ( "Microsoft.Update.Session"). CreateUpdateSearcher set Update History = updateSearch.QueryHistory (1, UpdateSearch.GetTotalHistoryCount) each update entry Update Krenitihas Wscript.Echo "Title" and update the entry. Title Wscript.Echo "Application ID:" & UpdateEntry.ClientApplicationID wscript.Echo " - "Next

edit:

Take a look at the

Comments

Popular posts from this blog

python - Overriding the save method in Django ModelForm -

html - CSS autoheight, but fit content to height of div -

qt - How to prevent QAudioInput from automatically boosting the master volume to 100%? -