SMS_R_System
The SMS_R_System WMI class is generated dynamically at provider run time and contains discovery data for all discovered system resources.
The following syntax is simplified from MOF code and includes all inherited properties.
Class SMS_R_System : SMS_Resource
{
string AgentName();
string AgentSite();
datetime AgentTime();
uint32 Client;
string ClientVersion;
string IPAddresses();
string IPSubnets();
string IPXAddresses();
string IPXNetworkNumbers();
string LastLogonUserDomain;
string LastLogonUserName;
string MACAddresses();
string Name;
string NetbiosName;
string OperatingSystemNameandVersion;
string ResourceDomainORWorkgroup;
uint32 ResourceID;
string ResourceNames();
uint32 ResourceType;
string SMSAssignedSites();
string SMSInstalledSites();
string SMSUniqueIdentifier;
string SystemRoles();
};
Properties
AgentName
Data type: string[]
Access type: Read-onlyList of the names of SMS discovery agent(s) that found this resource.
AgentSite
Data type: string[]
Access type: Read-onlyList of sites from which the discovery agent ran.
AgentTime
Data type: datetime[]
Access type: Read-onlyList of discovery times.
Client
Data type: uint32
Access type: Read-onlyIndicates whether a computer has SMS client software installed. A value of 1 indicates a computer that has SMS client software installed. A value of 0 indicates a computer without SMS client software installed.
ClientVersion
Data type: string
Access type: Read-onlyVersion of the installed SMS client software.
IPAddresses
Data type: string[]
Access type: Read-onlyList of the IP addresses associated with the resource. More than one address is listed if the resource has multiple network cards installed.
IPSubnets
Data type: string[]
Access type: Read-onlyList of the subnet masks associated with the resource IP addresses.
IPXAddresses
Data type: string[]
Access type: Read-onlyList 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[]
Access type: Read-onlyList of the IPX network numbers (subnets) associated with the resource IPX addresses.
LastLogonUserDomain
Data type: string
Access type: Read-onlyDomain used by the last logged-on user at the time when the discovery agent ran.
LastLogonUserName
Data type: string
Access type: Read-onlyName of the last logged-on user at the time when the discovery agent ran.
MACAddresses
Data type: string[]
Access type: Read-onlyList of the media access control (MAC) addresses of the resource.
Name
Data type: string
Access type: Read-onlyName of the resource.
NetbiosName
Data type: string
Access type: Read-onlyName used by the Netbios protocol.
OperatingSystemNameandVersion
Data type: string
Access type: Read-onlyFree-form string describing the operating system.
ResourceDomainORWorkgroup
Data type: string
Access type: Read-onlyDomain or workgroup to which the resource belongs.
ResourceID
Data type: **uint32
**Access type: Read-only
Qualifiers: KeySMS-supplied identifier that uniquely identifies a resource. A ResourceID value is not unique outside the site.
ResourceNames
Data type: string[]
Access type: Read-onlyList of non-Netbios names.
ResourceType
Data type: uint32
Access type: Read-onlyNumeric identifier that represents the different types of resources in your site. For more information, see SMS_ResourceMap.
SMSAssignedSites
Data type: string[]
Access type: Read-onlyList of SMS sites (site codes) to which this resource is assigned, based on the site boundaries. Even though a resource is assigned to a site, it may not be functioning as a client if the client software is not yet installed. For more information, see SMSInstalledSites.
SMSInstalledSites
Data type: string[]
Access type: Read-onlyList of SMS sites (site codes) to which the resource is reporting data. Eventually, this list should match the list of assigned sites.
SMSUniqueIdentifier
Data type: string
Access type: Read-onlyUnique identifier that comes from the client computer and is unique for all sites.
SystemRoles
Data type: string[]
Access type: Read-onlyList of site system roles this resource plays in the SMS installation, such as a distribution point or a client access 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 using WMI. Instead, you create or update resources using discovery data records. For information, see Using DDRs in Resource Discovery.
You can delete resource instances using WMI.
For information on querying array properties, see Special Queries.
See Also
Resource Management Classes, SMS_ResourceMap, SMS_R_User, SMS_R_UserGroup