Wrong Syntax.
where NOT name =
where name <> name
where name IS NOT xxx
Syntax: https://msdn.microsoft.com/en-us/library/aa394605%28v=vs.85%29.aspx
You can use Caption too:
"SELECT * FROM Win32_ComputerSystem Where Not Caption = 'sdfad'". Important! No Space between the quotation marks.
where NOT name =
where name <> name
where name IS NOT xxx
Syntax: https://msdn.microsoft.com/en-us/library/aa394605%28v=vs.85%29.aspx
You can use Caption too:
"SELECT * FROM Win32_ComputerSystem Where Not Caption = 'sdfad'". Important! No Space between the quotation marks.