67 out of 87 rated this helpful - Rate this topic

WMI Reference

The WMI Reference contains the following topics that discuss the core features of WMI.

SectionDescription
WMI Classes Complete list of the classes defined by WMI.
WMI Providers List of preinstalled providers that can request information from, and send instructions to, WMI managed objects.
COM API for WMI Complete list of the COM interfaces used by C and C++ management applications and providers to access WMI.
Scripting API for WMI Complete list of the components of the Scripting API for WMI.
WMI and SQL WMI queries use WQL, a subset of SQL named WQL.
WMI Log Files WMI and the WMI providers create several log files that assist in troubleshooting.
WMI Security This section provides a list of objects used in security descriptors and constants used in methods that manipulate security descriptors or privileges.
WMI Command-Line Tools Syntax used by mofcomp, winmgmt, wmic, smi2smir, and wmiadap.
WMI Infrastructure Objects and Values Information about WMI return codes, events, qualifiers, Managed Object Format (MOF) syntax, performance counter types, and other data used by WMI providers, scripts, and applications.

 

 

 

Send comments about this topic to Microsoft

Build date: 3/9/2012

Did you find this helpful?
(1500 characters remaining)
Community Content Add
Annotations FAQ
hi
thanks from morocco
powershell does not seem to use the full wql spec

can't get the like operator to work under ps v1,

[tfl - 28 08 09] Hi - and thanks for your post. You should post questions like this to the MSDN Forums at http://forums.microsoft.com/msdn or the MSDN Newsgroups at

http://www.microsoft.com/communities/newsgroups/en-us/ . You are much more likely get a quicker response using the forums than through the Community Content. For specific help about:
Visual Studio :
http://groups.google.com/groups/dir?sel=usenet%3Dmicrosoft.public.vstudio%2C &
SQL Server :
http://groups.google.com/groups/dir?sel=usenet%3Dmicrosoft.public.sqlserver%2C &
.NET Framework :
http://groups.google.com/groups/dir?sel=usenet%3Dmicrosoft.public.dotnet.framework
PowerShell : http://groups.google.com/group/microsoft.public.windows.powershell/topics?pli=1
All Public : http://groups.google.com/groups/dir?sel=usenet%3Dmicrosoft.public%2C &

Access WMI Objects from PowerShell
Note that you can also access and manipulate WMI objects using PowerShell. PowerShell helps administrators to access the richness and power of WMI in several ways:
  • The Get-WMIObject cmdlet enables you to get any WMI object that is represented in the CIM. You can also use Get-WMIObject to list out the WMI classes present to aid in discovery.
  • The [wmi], [wmiclass] and [wmisearcher] type accelerators that simplfy accessing WMI objects.
  • Default formatting for core objects to aid in discovery.
Some of the WMI classes here have been decorated with samples using PowerShell.