You will need to use the WMI class Win32_ComputerSystem. From what you are posting I am presuming that you require to apply the WMI filter to a group of Terminal Servers. If you have a specific naming method for your Terminal Servers for example TS1-10, you could you the following WMI query which will result in a true statement when the host name contains TS.
[code:1]Select * From Win32_ComputerSystem WHERE Name LIKE "%TS%"[/code]
What are you hoping to achieve by using your WMI Filter, could you provide some more information of what expected results you require.


LinkBack URL
About LinkBacks
Reply With Quote