How SMS Uses WMI

Published : April 11, 2005

WMI is the architectural underpinning for SMS, and understanding the relationship between SMS and WMI is the key to effective SMS scripting. SMS uses WMI to collect information about SMS clients and for the management and operation of SMS features such as the following:

  • Queries and collections, which use the WBEM Query Language (WQL) and the SMS Provider.

  • SMS administration tools, including support tools, resource kit tools, recovery tools, scripts, and any tools you have written with the SMS software development kit (SDK).

On This Page

SMS Provider
SMS Provider Namespaces
See Also

SMS Provider

The SMS Provider is a WMI provider that allows both read and right access to SMS site data held in the SMS database. It also helps ensure that SMS object security is enforced. The SMS Administrator console uses the SMS Provider, and sample scripts that read or update SMS site information also use the SMS Provider.

SMS Provider Namespaces

A WMI schema exists to describe the structure of the SMS Provider. Schema namespaces describe the location of SMS data within the SMS Provider. The following table contains the common namespaces you use when scripting SMS.

Namespace

Description

root\SMS\site_<sitecode>

The SMS Provider, which is extensively used by the Administrators console, Resource Explorer, SMS tools, and scripts.

Root\SMS\SMS_ProviderLocation

Provides the location of the SMS provider server for a site.

Root\CIMv2

Where the Advanced Client and Legacy Client hardware inventory agent gathers data from.

Root\CCM

Advanced Client configuration policies and client data.

root\CIMv2\SMS

Location of classes that should be recorded by the Legacy Client hardware agent. These settings are transferred to clients by using the SMS_def.mof file.

See Also

Concepts

Security and SMS Objects

SMS Objects

WMI Objects Used in SMS Scripting