Skip to content

Latest commit

 

History

History
34 lines (28 loc) · 2.38 KB

using-wql-and-scripting-languages-with-the-wmi-provider.md

File metadata and controls

34 lines (28 loc) · 2.38 KB
title description author ms.author ms.date ms.service ms.subservice ms.topic helpviewer_keywords
Access the WMI Provider with WQL and scripting
Learn how to access SQL Server services and network settings using the WMI Provider by using a WQL editor or query tool or a scripting language.
markingmyname
maghan
03/14/2017
sql
wmi
reference
queries [WMI]
scripts [WMI]
query language [WMI]
WMI Query Language [WMI]
WQL [WMI]
WMI Provider for Configuration Management, WQL
WMI Provider for Configuration Management, scripts

Using WQL and Scripting Languages with the WMI Provider

[!INCLUDE SQL Server] Management applications access [!INCLUDEssNoVersion] services and network settings using the Windows Management Instrumentation (WMI) Provider for Configuration Management objects in two ways:

  • Using a WQL editor or query tool, such as WBEMTest.exe to query the object set with the Windows Management Instrumentation Language (WQL).

  • Using a scripting language, such as VBScript.

Alternatively, [!INCLUDEssNoVersion] services and network settings can be managed programmatically using the WMI managed objects in SMO. For more information about programming WMI managed objects, see Managing Services and Network Settings by Using WMI Provider.

The WMI provider for Configuration Management can be accessed by using the [!INCLUDEssNoVersion] Configuration Manager and [!INCLUDEmsCoName] Management Console. For more information about accessing the WMI provider from a user interface, see Managing Services How-to Topics (SQL Server Configuration Manager).

See Also

Access WMI Provider for Configuration Management using WQL
Access the WMI Provider with VBScript