Logo
CAR REVIEW
Windows Vista
Windows 7
Windows Azure
Windows Server
Windows Phone
PREGNANCY
 
 
Windows Server

System Center Configuration Manager 2007 : Configuration Manager and WMI (part 6) - WMI on Configuration Manager Servers

2/22/2012 4:27:37 PM

WMI on Configuration Manager Servers

The SMS provider is a WMI provider that exposes many of the most important objects in the Configuration Manager site database as WMI managed objects. This provider is generally installed on either the site server or the site database server. The ConfigMgr console and auxiliary applications such as the Resource Explorer, Service Manager, and various ConfigMgr tools are implemented as WMI management applications. As with other WMI providers, you can also take advantage of the SMS provider’s objects in custom scripts or other management applications. The provider also implements the Configuration Manager object security model. 

The SMS provider namespace is Root\SMS\site_<Site Code>. You can use standard WMI tools to view ConfigMgr classes and objects. You can also view the properties of SMS provider objects from within the ConfigMgr console. To enable viewing of WMI information, navigate to the AdminUI\bin folder under the main ConfigMgr installation folder and start the console with either or both of the following command-line options:

  • AdminConsole.msc /SMS:NamespaceView=1— This adds a ConfigMgr Namespace node to the console tree. The Namespace node displays a list of WMI classes in the ConfigMgr namespace. You can click a class name, as shown in Figure 24, to display its properties, qualifiers, and methods in the details pane. You can also select a property to see its associated list of property qualifiers.

    Figure 24. The SMS_Site class as displayed in the console Namespace view
  • AdminConsole.msc /SMS:DebugView=1— This allows you to view object properties as raw WMI data. With Debug view enabled, you can right-click an object in the console tree and choose ConfigMgr Object Properties View to display the WMI properties. Notice that the default console view essentially presents the same information in a Windows dialog box. Figure 25 shows the WMI properties of the DAL ConfigMgr site.

    Figure 25. The properties of the DAL site displayed in the console’s Object Properties view

Figure 3.32 displayed the property qualifiers of the Status property, showing that the status value “1” means ACTIVE.

Using the console WMI views makes exploring the SMS provider namespace much easier. To illustrate how to drill down into the underlying WMI from the console, this section uses ConfigMgr collections as an example. To explore the WMI behind ConfigMgr collections, perform the following steps:

1.
Enter the following command line to open the console with both the Namespace and Debug views enabled:

AdminConsole.msc /SMS:DebugView=1 /SMS:NamespaceView=1

2.
Navigate to System Center Configuration Manager -> Site Database -> Computer Management -> Collections.

3.
Right-click the Collections node, and then choose the ConfigMgr Object Properties View. Figure 26 displays some of the WMI properties of the collection instances.

  • The RelPath property in column 1 provides the class name, SMS_Collection, and the name of each instance. You can use this information to locate the class and instances in CIM Studio of the WMI Object Browser. This is especially useful for those classes with names not easily guessed, such as the SMS_SIIB_Configuration class that represents many site settings.

  • The MemberClass name of the SMS_Collection instances tells you where to find additional information about the collection members.

Figure 26. Some of the key properties of the ConfigMgr collections, as displayed in console’s Object Properties view

4.
The /SMS:NamespaceView=1 command-line switch adds the ConfigMgr Namespace folder to the Console tree pane. Locate the SMS_Collection class under the ConfigMgr Namespace node in the console tree pane. As shown in Figure 27, the Namespace view provides a convenient display of class properties, methods, and qualifiers.

Figure 27. The Namespace view in the ConfigMgr Collections console displays the SMS_Collection class properties, methods, and qualifiers.

5.
You can use CIM Studio and the WMI Object Browser to explore the SMS_Collection class and instances further. Figures 28 and 29, respectively, show the class methods and associations in CIM Studio. The SMS_Collection class methods allow you to perform operations such as pushing the ConfigMgr Client to collection members with the Create CCRs method and updating collection membership with the RequestRefresh method. When you perform these operations through the ConfigMgr console, you are actually invoking the methods of the SMS_Collection class.

Figure 28. The Methods tab of the SMS_Collection class displayed in CIM Studio

Figure 29. The SMS_Collection class associations link a collection to its subcollections, members, and advertisements for the collection.

The Smsprov.mof file contains the MOF language defining the Root\SMS namespace and the classes it contains. You can find the Smsprov.mof file in the bin\<platform> folder under the Configuration Manager installation folder. You can also export MOF definitions for instances of the following ConfigMgr object types directly from the console:

  • Collections

  • Queries

  • Reports

To export object definitions to MOF files, right-click the parent node, choose Export Objects, and complete the wizard to choose the instances to export and the file location as well as to enter descriptive text. You can use a similar process to import objects from MOF files.

Other -----------------
- System Center Configuration Manager 2007 : Active Directory Integration
- Deploying and Managing BizTalk Applications : Deploying a BizTalk Solution (part 2)
- Deploying and Managing BizTalk Applications : Deploying a BizTalk Solution (part 1) - Steps in Deploying a BizTalk Application
- Microsoft Dynamics CRM 4.0 Accelerators : Event Management Accelerator (part 3) - Publish the CRM Workflow & Testing the Portal
- Microsoft Dynamics CRM 4.0 Accelerators : Event Management Accelerator (part 2) - Install CRM Reports & CRM Customizations
- Microsoft Dynamics CRM 4.0 Accelerators : Event Management Accelerator (part 1) - Install CRM Customizations
- Microsoft Systems Management Server 2003 : Disaster Recovery - Using the SMS Site Repair Wizard
- Microsoft Systems Management Server 2003 : Disaster Recovery - Using the Recovery Expert
- SQL Server 2008 : Data Collector and MDW - Data collection
- SQL Server 2008 : Data Collector and MDW - Setup and configuration
- Microsoft Content Management Server : Adding a Search Page to the MCMS Site (part 4) - Building the MSQuery XML String
- Microsoft Content Management Server : Adding a Search Page to the MCMS Site (part 3) - Building the Microsoft SQL Full-Text Query
- Microsoft Content Management Server : Adding a Search Page to the MCMS Site (part 2) - Building a Custom Search Implementation - Building a Search Input Control
- Microsoft Content Management Server : Adding a Search Page to the MCMS Site (part 1) - Searching with the MCMS SharePoint Connector
- Sharepoint 2007 : Managing Security - Configure Access Requests for Lists and Libraries
- Sharepoint 2007 : Managing Security - See Who Is a Member of a SharePoint Group
- Sharepoint 2007 : Managing Security - Assign Permissions on a List or Library
- InfoPath with Sharepoint 2010 : Expose Form Fields as Web Part Connection Parameters & Create a Form to Send Data to Web Parts
- Windows Server 2003 : Creating Virtual Machines (part 2) - Configuring Virtual Machines
- Windows Server 2003 : Creating Virtual Machines (part 1) - Initial Configuration of a Virtual Machine
 
 
Most view of day
- Windows Phone 8 : Configuring Basic Device Settings - Screen Brightness (part 1) - Automatically Adjusting the Screen Brightness
- SQL Server 2012 : XML and the Relational Database - Shredding XML Using OPENXML
- Microsoft Exchange Server 2010 : Setting Up Transport Rules (part 1) - Transport Rules Coexistence Between Exchange 2007 and 2010 , Transport Rules and Server Design Decisions
- Windows Server 2003 : Protecting Hosts with Windows Host Firewalls - Firewall Basics
- Maintaining Windows 7 : Check Your Hard Drive for Errors
- Windows Server 2012 : Managing networking using Windows PowerShell (part 1) - Identifying networking cmdlets
- Microsoft Lync Server 2010 : Planning for Voice Deployment - Media Bypass
- Sharepoint 2013 : Service Application Administration (part 1) - Creating a New Instance of a Service Application
- Windows Phone 8 : Orientation and the PhoneApplicationPage Class (part 4) - Animating Page Elements When the Page Orientation Changes
- SQL Server 2008 R2 : Creating and Managing Stored Procedures - Debugging Stored Procedures Using SQL Server Management Studio
Top 10
- Microsoft Project 2010 : Linking Tasks (part 8) - Auditing Task Links,Using the Task Inspector
- Microsoft Project 2010 : Linking Tasks (part 7) - Creating Links by Using the Mouse,Working with Automatic Linking Options
- Microsoft Project 2010 : Linking Tasks (part 6) - Creating Links by Using the Entry Table
- Microsoft Project 2010 : Linking Tasks (part 5) - Creating Links by Using the Task Information Dialog Box
- Microsoft Project 2010 : Linking Tasks (part 4) - Entering Leads and Lags, Creating Links by Using the Menu or Toolbar
- Microsoft Project 2010 : Linking Tasks (part 3) - Using the Start-to-Start Relationship,Using the Finish-to-Finish Relationship
- Microsoft Project 2010 : Linking Tasks (part 2) - Using the Start-to-Start Relationship,Using the Finish-to-Finish Relationship
- Microsoft Project 2010 : Linking Tasks (part 1) - Defining Dependency Links
- Microsoft Project 2010 : Defining Task Logic - Manipulating Your Schedule
- Microsoft Lync Server 2013 : Director Troubleshooting (part 3) - Synthetic Transactions,Telnet
 
 
Windows XP
Windows Vista
Windows 7
Windows Azure
Windows Server
Windows Phone
2015 Camaro