Skip to content

Latest commit

 

History

History
54 lines (38 loc) · 4.76 KB

wmi-provider-for-configuration-management.md

File metadata and controls

54 lines (38 loc) · 4.76 KB
title description author ms.author ms.date ms.service ms.subservice ms.topic helpviewer_keywords
WMI Provider for Configuration Management Concepts
Learn about WMI provider, which is used with SQL Server Configuration Manager in Microsoft Management Console and Microsoft SQL Server Configuration Manager.
markingmyname
maghan
03/14/2017
sql
wmi
reference
WMI Provider for Configuration Management
SQL Server WMI Provider
configuration management [WMI]
WMI Provider for Configuration Management, about WMI Provider for Configuration Management

WMI Provider for Configuration Management

[!INCLUDE SQL Server] The WMI provider is a published layer that is used with the [!INCLUDEssNoVersion] Configuration Manager snap-in for [!INCLUDEmsCoName] Management Console (MMC) and the [!INCLUDEmsCoName] [!INCLUDEssNoVersion] Configuration Manager. It provides a unified way for interfacing with the API calls that manage the registry operations requested by [!INCLUDEssNoVersion] Configuration Manager and provides enhanced control and manipulation over the selected [!INCLUDEssNoVersion] services.

The [!INCLUDEssNoVersion] WMI Provider is a DLL and a MOF file, which are compiled automatically by [!INCLUDEssNoVersion] Setup.

The [!INCLUDEssNoVersion] WMI Provider contains a set of object classes used to control the [!INCLUDEssNoVersion] services using the following methods:

  • A script language such as VBScript, [!INCLUDEjsprjscript], or Perl, in which Windows Query Language (WQL) can be embedded.

  • The xref:Microsoft.SqlServer.Management.Smo.Wmi.ManagedComputer object in an SMO managed code program.

  • The [!INCLUDEssNoVersion] Configuration Manager or MMC with the [!INCLUDEssNoVersion] WMI provider snap-in.

Using a Script Language

The advantages of using a script language include the following:

  • A development environment is not required.

  • The files that support the script language are widely available.

The script can also work with other WMI Providers in addition to the [!INCLUDEssNoVersion] WMI Provider. A domain administrator can use a script to set up the services, network settings, and alias settings on multiple computers on a network.

This section deals with accessing the WMI Provider for Configuration Management from scripts in further detail.

Using the SMO ManagedComputer Object

The xref:Microsoft.SqlServer.Management.Smo.Wmi.ManagedComputer object is a managed SMO object that provides access to the WMI Provider for Configuration Management. By using an SMO program, the xref:Microsoft.SqlServer.Management.Smo.Wmi.ManagedComputer object can be used to view and modify [!INCLUDEssNoVersion] services, network settings, and alias settings. For more information, see Managing Services and Network Settings by Using WMI Provider.

Using the Microsoft Management Console or SQL Server Configuration Manager

Microsoft Management Console (MMC) provides an interface to manage [!INCLUDEssNoVersion] services, as opposed to a scripting language or managed code program. The [!INCLUDEssNoVersion] Management MMC snap-in can be used to stop and start services, and to change service accounts.

The [!INCLUDEssNoVersion] Configuration Manager can also be used to manage [!INCLUDEssNoVersion] services, client and server protocols, and server aliases

See Also

Understanding the WMI Provider for Configuration Management
Working with the WMI Provider for Configuration Management
Using WQL and Scripting Languages with the WMI Provider for Configuration Management