I am trying to create a WMI Filter for a GPO using Win32_ComputerSystem using Name to filter the results. The problem is when I try to add multiple values with Name I get a syntax error.
The statement looks like this
Select * From Win32_ComputerSystem where Name LIKE "ABCD%" or "EFGH%" or "IJKL%" AND Version like "6.%" or ProductType="3"
I get a syntax error when I tried to use the multiple Names. If I remove "EFGH%" and "IJKL%" it works fine. What am I missing?