|
kdsrazor -> RE: how do I omit a resource ID from a collection query (4/11/2008 12:36:43 PM)
|
What scripting language? What type of query? If you're talking about doing a WMI query in a VB script, you can just use a NOT in your query. Select * from Win32_LogicalDisk where FileSystem = 'NTFS' vs Select * from Win32_LogicalDisk where NOT FileSystem = 'NTFS' Here is another example using greater than and less than from a different script: Select * FROM Win32_ComputerSystem WHERE UserName <> "domainName\UserName" Of course these examples aren't for selecting computers, but you get the idea.
|
|
|
|