The SMS_R_System Windows Management Instrumentation (WMI) class is an SMS Provider server class, in Configuration Manager, that is generated dynamically at SMS Provider run time and contains discovery data for all discovered system resources.

The following syntax is not defined in Managed Object Format (MOF) code.

Class SMS_R_System : SMS_Resource
{
   UInt32  Active;
   String   ADSiteName;
   String   AgentName[];
   String   AgentSite[];
   DateTime AgentTime[];
   UInt32  Client;
   UInt32  ClientType;
   String   ClientVersion;
   String   CPUType;
   DateTime CreationDate;
   String   HArdwareID;
   String   IPAddresses[];
   String   IPSubnets[];
   String   IPXAddresses[];
   String   IPXNetworkNumbers[];
   String   LastLogonUserDomain;
   String   LastLogonUserName;
   String   MACAddresses[];
   String   Name;
   String   NetbiosName;
   UInt32  Obsolete;
   String   OperatingSystemNameandVersion;
   String   PreviousSMSUUID;
   String   ResourceDomainORWorkgroup;
   UInt32  ResourceID;
   String  ResourceNames[];
   UInt32  ResourceType;
   String  SMSAssignedSites[];
   String  SMSInstalledSites[];
   String   SMSUniqueIdentifier;
   DateTime SMSUUIDChangeDate;
   String   SNMPCommunityName;
   String  SystemContainerName[];
   String  SystemGroupName[];
   String  SystemOUName[];
   String  SystemRoles[];
};

Methods

The SMS_R_System class does not define any methods.

Properties

Active


Data type: UInt32Access type: Read-onlyQualifiers: NoneFlag that indicates the state of the client on the network. Usually set to 1, this flag is set to 0 by the client health tools when it is determined that the client is not healthy or not actively participating on the network.
ADSiteName


Data type: StringAccess type: Read-onlyQualifiers: NoneThe Active Directory site name that the client is assigned.
AgentName


Data type: String ArrayAccess type: Read-onlyQualifiers: NoneList of the names of discovery agents that found the resource.
AgentSite


Data type: String ArrayAccess type: Read-onlyQualifiers: NoneList of sites from which the discovery agents run.
AgentTime


Data type: DateTime ArrayAccess type: Read-onlyQualifiers: NoneList of discovery dates and times.
Client


Data type: UInt32Access type: Read-onlyQualifiers: NoneValue that indicates whether a computer has Configuration Manager client software installed. Possible values are:

Value Description

0

A computer without client software installed.

1

A computer that has client software installed.

ClientType


Data type: UInt32Access type: Read-onlyQualifiers: NoneThe type of the client installed on the computer. Possible values are:

Value Description

0

Legacy

1

Advanced Client

3

Device Client

ClientVersion


Data type: StringAccess type: Read-onlyQualifiers: NoneVersion of the installed client software.
CPUType


Data type: StringAccess type: Read-onlyQualifiers: NoneThe CPU type, for example, StrongARM. Currently this value is reported only by device clients.
CreationDate


Data type: DateTimeAccess type: Read-onlyQualifiers: NoneThe date the record was first created, when the resource was first discovered.
HardwareID


Data type: StringAccess type: Read-onlyQualifiers: NoneAn ID that uniquely describes the hardware on which the client is installed. This ID remains unchanged through re-imaging or through successive installations of the operating system or client. This differs from the Configuration Manager unique ID, which might change under these circumstances.
IPAddresses


Data type: String ArrayAccess type: Read-onlyQualifiers: NoneList of the IP addresses that are associated with the resource. More than one address is listed if the resource has multiple network cards installed.
IPSubnets


Data type: String ArrayAccess type: Read-onlyQualifiers: NoneList of the subnet masks that are associated with the resource IP addresses.
IPXAddresses


Data type: String ArrayAccess type: Read-onlyQualifiers: NoneList of the IPX addresses of the resource. More than one address is listed if the resource has multiple network cards installed.
IPXNetworkNumbers


Data type: String ArrayAccess type: Read-onlyQualifiers: NoneList of the IPX network numbers (subnets) that are associated with the resource IPX addresses.
LastLogonUserDomain


Data type: StringAccess type: Read-onlyQualifiers: NoneDomain used by the last logged-on user at the time the discovery agent ran.
LastLogonUserName


Data type: StringAccess type: Read-onlyQualifiers: NoneName of the last logged-on user at the time the discovery agent ran.
MACAddresses


Data type: String ArrayAccess type: Read-onlyQualifiers: NoneList of the media.Media access controller (MAC) addresses of the resource.
Name


Data type: StringAccess type: Read-onlyQualifiers: NoneName of the resource.
NetbiosName


Data type: StringAccess type: Read-onlyQualifiers: NoneName used by the NetBIOS protocol.
Obsolete


Data type: UInt32Access type: Read-onlyQualifiers: NoneValue identifying the state of the record. Usually set to 0, this value is set to 1 when the server detects that the record has been superseded by another record for the same computer. If several records have the same HardwareID value (same computer), the older records are marked as obsolete.
OperatingSystemNameandVersion


Data type: StringAccess type: Read-onlyQualifiers: NoneFree-form string describing the operating system.
PreviousSMSUUID


Data type: StringAccess type: Read-onlyQualifiers: NoneID of the hardware. If the client determines that the hardware has changed significantly (that is, that the client has most likely been moved from one computer to another), it generates a new GUID for itself and reports the old one in this property. The server also marks the old record as obsolete.
ResourceDomainORWorkgroup


Data type: StringAccess type: Read-onlyQualifiers: NoneDomain or workgroup to which the resource belongs.
ResourceID


Data type: UInt32Access type: Read/Write Qualifiers: [key]See SMS_Resource Server WMI Class.
ResourceNames


Data type: String ArrayAccess type: Read-onlyQualifiers: NoneList of non-NetBIOS names.
ResourceType


Data type: UInt32Access type: Read-onlyQualifiers: NoneType of resources on the site. For more information, see SMS_ResourceMap Server WMI Class.
SMSAssignedSites


Data type: String ArrayAccess type: Read-onlyQualifiers: NoneList of site codes for sites to which the resource is assigned, based on the site boundaries. Even though a resource is assigned to a site, it might not be functioning as a client if the client software is not yet installed.
SMSInstalledSites


Data type: String ArrayAccess type: Read-onlyQualifiers: NoneList of codes for sites to which the resource is reporting data. Eventually, this list should match the list of assigned sites.
SMSUniqueIdentifier


Data type: StringAccess type: Read-onlyQualifiers: NoneUnique ID that comes from the client computer. This ID is unique across sites.
SMSUUIDChangeDate


Data type: DateTimeAccess type: Read-onlyQualifiers: NoneThe date of when the client generated a new GUID.
SystemContainerName


Data type: String ArrayAccess type: Read-onlyAn array of Active Directory container names to which the system belongs.
SystemGroupName


Data type: String ArrayAccess type: Read-onlyQualifiers: NoneAn array of Active Directory group names to which the system belongs.
SystemSystemOUName


Data type: String ArrayAccess type: Read-onlyQualifiers: NoneAn array of organizational units (OUs) to which the system belongs.
SystemRoles


Data type: String ArrayAccess type: Read-onlyQualifiers: NoneList of site system roles that the resource plays in the Configuration Manager installation, such as a distribution point. Only resources that perform one or more specific site system roles have a value for this property.

Remarks

You cannot create or update resource instances by using WMI, but you must create or update resources by using discovery data records. However, you can delete resource instances by using WMI. For more information, see About Using DDRs in Resource Discovery.

For information about querying array properties, see Configuration Manager Special Queries.

Requirements

Runtime Requirements

Development Requirements

See Also


Send comments about this topic to Microsoft.