Originally Posted By: Radimus
Here is another, but it returns more data than I want...

Can I do a WHERE clause that contains OR?? Where Name="this" or name="that"


Eh? Using an OR is going to return more results, not less

Anyway, a simple OR syntax is pretty much what you would expect:
 Code:
$objWMI = GetObject("winmgmts:\\.\root\CIMV2")

$colItems = $objWMI.ExecQuery("SELECT * FROM Win32_Product"
	+" WHERE Name Like 'Microsoft Office Visio Professional%'"
	+" OR Name Like 'Microsoft Office Professional%'"
	)
        
For Each $objItem In $colItems
	'1 '+ $objItem.Name+@CRLF
	'2 '+ $objItem.InstallLocation+@CRLF
	'3 '+ $objItem.Version+@CRLF
	'4 '+ $objItem.IdentifyingNumber+@CRLF
	@CRLF
Next