- WMI Library -
WMI Libraly > Win32_Patch Class

Win32_Patch Class

Instances of this class represent individual patches that are to be applied to a particular file and whose source reside at a specified location.
Namespace value is root/CIMV2.
WMI Provider value is MSIProv.


Properties

  • Attributes
  • A bit flag representing patch attributes. A value of 1 indicates that the failure to apply this patch is not a fatal error.

  • Caption
  • A short textual description (one-line string) of the CIM_Setting object.

  • Description
  • A textual description of the CIM_Setting object.

  • File
  • The FileID of the Win32_FileSpecification this patch applies to.

  • PatchSize
  • The size of the patch in bytes.

  • ProductCode
  • The product code for the product to which this patch is applied.

  • Sequence
  • The position of this patch in the sequence of patches on the source media.

  • SettingID
  • The identifier by which the CIM_Setting object is known.


    Methods

    Method not found.

    Example WQL

    SELECT * FROM Win32_Patch
    About this site information

    This contents is created by WMI having class information.
    WMI Environment is Windows Server 2008 R2 Enterprise Edition.

    This link is Microsoft documents for "Managing Windows with WMI".
    That is VB(Visual Basic) scripting sample.
    This link is Microsoft documents for "Advanced Programming Topics in WMI .NET".
    That is VB.net(Visual Basic .net) scripting sample.

    - WMI Library -
    http://library.wmifun.net/

    WMI useful by VB,VB.Net,VC,VC.Net,VC#.Net,VBS(WSH),PowerShell for PC asset management, system monitoring and collecting hardware and software inventory.

    This website is created by Toh.
    Copyright(C) 1997-2016 WMI Fun !!. All rights reserved.
    ^ Go to the top...