WQL Test Tool

Source: Internet
Author: User
WQL is the query language in WMI. The full name of WQL is WMI query language (WQL for short). It can be translated into Chinese and become a standardized query language for Windows Management. Those who are familiar with the SQL language will feel that it is very similar to SQL. WQL is actually very simple. It has the following features: 1. each WQL statement must start with select; 2. select is followed by the attribute name you want to query (I just called it the field name for the corresponding SQL). You can also use * to return all attribute values like SQL. 3. from keyword; 4. the name of the class you want to query; 5. in addition, if you want to accurately query the results, you can add the WHERE clause. For example, if a class has the Enable attribute, you can add where enable = true during query. In WINXP and win2003, WQL test tool wbemtest.exe is provided to check which classes and classes have the attributes. Usage: 1.start wbemtest.exe. During connection, change the default namespace Root \ default to Root \ cimv2. 2. After logging on to the system, select 'recursion 'from the enumerated classes... dialog box to view the classes in the system, and the attributes and methods of these classes. How to: List class http://msdn.microsoft.com/zh-cn/library/ms257362 (vs.80). aspx Microsoft WMI in the WMI namespace CodeGeneration Tool wmicodecreatortools.rar

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.