Client Management Suite

 View Only
  • 1.  Creating Filter Based on Computer Name

    Trusted Advisor
    Posted Dec 12, 2012 01:45 PM

    I'd like to create a filter based on computer name. I'm sure I'm missing something simple.

     

    I started by following this video, which works except it also returns image and user resources with %compname% in them.

    https://www-secure.symantec.com/connect/videos/symantec-management-platform-how-create-dynamic-filter

     

    I tried this and it's also returning image and user resources with %compname% in them.

     

    SELECT *

    FROM vComputer vC

    WHERE vC.[Name] LIKE '%compname%'

    ORDER BY vC.Name ASC

     

    What's the best way to limit the filter to just show computer resources?



  • 2.  RE: Creating Filter Based on Computer Name

    Posted Dec 12, 2012 04:01 PM

    If you try that SQL in SQL Query Analyser and it still user records you might need to look at the SQl used to generate the views, mine don't have any User resources in.



  • 3.  RE: Creating Filter Based on Computer Name

    Posted Dec 14, 2012 12:53 PM

    Do the user resources have a MAC Address? If not only grab results that do.

     

     

    SELECT *

    FROM vComputer vC

    WHERE vC.[Name] LIKE '%compname%'

     

    AND vC.[Mac Address] IS NOT NULL
    AND vC.[MAC Address] != ''

    ORDER BY vC.Name ASC

     

    Something to try anyway



  • 4.  RE: Creating Filter Based on Computer Name
    Best Answer

    Posted Dec 14, 2012 01:05 PM

    Try using the base computer resource view:

     

    SELECT *

    FROM vRM_Computer_Item vC

    WHERE vC.[Name] LIKE '%compname%'

    ORDER BY vC.Name ASC



  • 5.  RE: Creating Filter Based on Computer Name

    Trusted Advisor
    Posted Dec 14, 2012 01:07 PM

    @Andrew Bosch

    Thanks, that worked.