O'Reilly logo

Windows PowerShell™ 3.0 Step by Step by Ed Wilson

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Chapter 10 quick reference

To

Do this

Find the default WMI namespace on a computer

Use the Advanced tab in the WMI Control Properties dialog box.

Browse WMI classes on a computer

Use the Get-WmiObject cmdlet with the -list argument. Use a wildcard for the WMI class name.

Make a connection into WMI

Use the Get-WmiObject cmdlet in your script.

Use a shortcut name for the local computer

Use a dot (.) and assign it to the variable holding the computer name in the script.

Find detailed information about all WMI classes on a computer

Use the Platform SDK information found in the MSDN library (http://msdn2.microsoft.com/en-us/library/aa394582.aspx)

List all the namespaces on a computer

Query for a class named __NameSpace.

List all providers installed ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required