Article written by

A technology enthu and a Windows PowerShell MVP working on SharePoint solutions at Dell Inc. Has deep interests in Windows Server OS & Virtualization.

14 Responses

Page 1 of 1
  1. Tweets that mention WMI Query Language (WQL) – An introduction -- Topsy.com

    [...] This post was mentioned on Twitter by ShayLevy, jonathanmedd and ravikanth, ravikanth. ravikanth said: Blog: WMI Query Language (WQL) – An introduction http://www.ravichaganti.com/blog/?p=1509 [...]

  2. WMI Query Language (WQL) – Keywords and Operators

    [...] WMI query language – An introduction 2. WMI query language – Keywords and Operators (this [...]

  3. WMI Query Language (WQL) – Data Queries: SELECT, FROM, and WHERE

    [...] are the links to all articles in this series of posts on WQL. 1. WMI query language – An introduction 2. WMI query language – Keywords and Operators 3. WMI query language – Data Queries: SELECT, [...]

  4. Matt McCann
    Matt McCann at |

    Great info. I’m a little confused regarding the difference between the -query parameter and the -filter parameter. I mean, I see that you use the select statement with -query, but they both use WQL syntax, but filter statements don’t go in quotes?

    The other topic I’m having trouble finding much documentation on is how to correctly compose queries using multiple operators.
    gwmi -query “select DeviceID from win32_LogicalDisk where Freespace>30000000000″
    works fine
    gwmi -query “select DeviceID from win32_LogicalDisk where Freespace>30000000000 AND DeviceID=C”
    doesn’t. Just an example.

  5. WMI Query Language (WQL) – Data Queries: Associators Of

    [...] are the links to all articles in this series of posts on WQL. 1. WMI query language – An introduction 2. WMI query language – Keywords and Operators 3. WMI query language – Data Queries: SELECT, [...]

  6. WMI Query Language (WQL) – Data Queries: References Of

    [...] WMI query language – An introduction 2. WMI query language – Keywords and Operators 3. WMI query language – Data Queries: SELECT, [...]

  7. WMI Query Language (WQL) – Event Queries: Syntax

    [...] WMI query language – An introduction 2. WMI query language – Keywords and Operators 3. WMI query language – Data Queries: SELECT, [...]

  8. WMI Query Language (WQL) – Event Queries: Intrinsic Events

    [...] WMI query language – An introduction 2. WMI query language – Keywords and Operators 3. WMI query language – Data Queries: SELECT, [...]

  9. WMI Query Language (WQL) – Event Queries: Extrinsic Events

    [...] WMI query language – An introduction 2. WMI query language – Keywords and Operators 3. WMI query language – Data Queries: SELECT, [...]

  10. WMI Query Language (WQL) – Schema Queries

    [...] WMI query language – An introduction 2. WMI query language – Keywords and Operators 3. WMI query language – Data Queries: SELECT, [...]

  11. USV eines Hyper-V mit WMI-Events überwachen « Das nie endende Chaos!

    [...] kompakte aber gute Einführung in WQL gibts hier: 1. WMI query language – An introduction  2. WMI query language – Keywords and Operators 3. WMI query language – Data [...]

  12. PowerShell v2 Snippets | Level533
    PowerShell v2 Snippets | Level533 at |

    [...] WMI Query Language (WQL) – An introduction at http://www.ravichaganti.com/blog/?p=1509 for some great resources on PowerShell querying examples. This entry was posted in PowerShell and [...]

  13. mayur
    mayur at |

    How can i join two WMI classes to display results. any wmi classed

Comments are closed, but trackbacks and pingbacks are open.

%d bloggers like this: