Share via


SMS_G_System_ExtHistory

The SMS_G_System_ExtHistory WMI class is an abstract class that derives hardware inventory class objects for extended history. You use this class to determine the state of a client at any given time. Extended history classes are prefixed with "SMS_GEH_System_" followed by the inventoried object name, such as SMS_GEH_System_ACCOUNT.

The following syntax is simplified from MOF code and includes all inherited properties.

Class SMS_G_System_ExtHistory : SMS_G_System
{
  uint32 GroupID;
  uint32 ResourceID;
  uint32 RevisionID;
  datetime TimeStamp;
};

Properties

  • GroupID
    Data type: uint32
    Access type: Read-only
    Qualifiers: Key

    Distinguishes one hardware inventory instance from another within one resource (SMS client). For example, each logical disk instance for a client is assigned a unique GroupID value.

  • ResourceID
    Data type: uint32
    Access type: Read-only
    Qualifiers: Key

    SMS-supplied identifier that uniquely identifies a resource (SMS client). Inventory items with the same ResourceID values are all found on the same SMS client. A ResourceID value is not unique outside the site.

  • RevisionID
    Data type: uint32
    Access type: Read-only

    Increments if the object changed after the last time inventory was taken. The highest number is the most recent update. Objects with the same ResourceID and GroupID values are deltas. They differ from one another by RevisionID number.

  • TimeStamp
    Data type: datetime
    Access type: Read-only

    Date and time of the inventory.

Remarks

You use the classes derived from SMS_G_System_ExtHistory, such as SMS_GEH_System_Logical_Disk, to determine the state of a hardware component on a client at a given point in time. The SMS provider determines the state using the information from classes derived from both SMS_G_System_Current and SMS_G_System_History. However, you cannot query SMS_G_System_ExtHistory to determine the state of all hardware components on a client at a given point in time.

Your query must include the ResourceID and TimeStamp values in the WHERE clause, as shown in the following example:

SELECT * FROM SMS_GEH_System_Logical_Disk
WHERE ResourceID = <resourceid>
AND Timestamp = "<timestamp>"

See Also

Hardware Inventory Classes, Resource Management Classes, SMS_G_System_Current, SMS_G_System_History