kdsrazor
Posts: 212
Score: 10 Joined: 1/6/2006 Status: offline
|
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.
< Message edited by kdsrazor -- 4/11/2008 12:39:33 PM >
_____________________________
Ken Aldrich Senior Support Engineer Visual Click Software 512-231-9990 x 2 supportw@visualclick.com
|