May 2007
Beginner
320 pages
8h 23m
English
The next level of sophistication (from using Select *) is to return only the properties you are interested in. This is a more efficient strategy. For instance, in the previous example, you entered Select * and were returned a lot of data you weren't necessarily interested in. Suppose you want to know only what shares are on each machine.
Just the Steps To select specific data
Make a connection to WMI by using the Get-WmiObject cmdlet
Use the query argument to supply the WMI query to the Get-WmiObject cmdlet
In the query, use the Select statement to choose the specific property you are interested in, for example, Select name.
In the query, use the From statement to indicate the class from which you want to retrieve ...
Read now
Unlock full access