Finding WMI Instance Path Names

by Sep 7, 2010

In a previous tip, you learned about how to access WMI instances directly using their individual instance path. Here is how you can find that path for arbitrary WMI objects:

Get-WMIObject Win32_Share | Select-Object __Path

You can simply retrieve WMI instances and look at the "__Path" property. Be sure to note that this property begins with two underscores, not just one.

Twitter This Tip! ReTweet this Tip!