Regarding registry queries, I've often seen the advice that you need to specify the name of the property with get-itemproperty, and then use the property name again using the dot method to retrieve the value. For example:
(Get-ItemProperty HKLM:\SOFTWARE\Intel\Infinst -name Infver).Infver
However, in my experience there's no need to supply the name twice. The below works just fine.
I was wondering if anyone knew some background on this and whether there are any circumstances where my method wouldn't work. It's been tested with both PS 2.0 and 3.0, don't know about 1.0. I can't understand why the previous advice prevails when it doesn't seem to be needed.