Version: 3
restore

Contents

Method

GetInstalledUpdates

ModuleOperatingSystem
LibraryCore
Action

Get list of installed Windows updates.

Parameters(None)
Return values

Title (string): Update title.

Status (string): "OK", and/or an error code as reported by the Windows Update component.

InstallDate (string): If available, the installation time and date.

Example
 OperatingSystem.GetInstalledUpdates();
Platforms
  • Windows
Notes

The Status column can include an error code which may need to be interpreted in the absence of a corresponding message. The list of error codes is available on Microsoft's MSDN site.

Also note that an error code may also be returned in the event of a successful installation; for example, the error code 0x240006 may be present to indicate that an update did not install because it was already present on the device.