Loading |
VBScript |
JavaScript |
Powershell |
Search Options: Install an UpdateContent of Install an Update.vbsMD5 Hash: 160436FB8022A2322CE658A0ECF35B6B |
||
' Description: Installs update ac94db3b-e1a8-4e92-9fd0-e86f355e6a44.
Set objCollection = CreateObject("Microsoft.Update.UpdateColl") Set objSearcher = CreateObject("Microsoft.Update.Searcher") Set objResults = objSearcher.Search _ ("UpdateID='ac94db3b-e1a8-4e92-9fd0-e86f355e6a44'") Set colUpdates = objResults.Updates objCollection.Add(colUpdates.Item(0)) Set objInstaller = CreateObject("Microsoft.Update.Installer") objInstaller.Updates = objCollection Set objInstallResults = objInstaller.Install Wscript.Echo objInstallResults.Exception Wscript.Echo objInstallResults.RebootRequired Wscript.Echo objInstallResults.ResultCode | ||
© 2008 - 2013 Boris Toll :: Scripts available: 6.481 :: :: scriptbox.toll.at :: :: powered by www.toll.at :: |