Client Management Suite

 View Only
  • 1.  How to create a Filter Based on Active Directory OU?

    Posted Dec 07, 2012 06:53 PM

    Manage --> Filters.

    I need to crate a filter that will see all servers in an OU.

    How do I do this?

     

     



  • 2.  RE: How to create a Filter Based on Active Directory OU?

    Broadcom Employee
    Posted Dec 08, 2012 04:43 AM

    Create a new filter and then on inclusion / exclusion selector you should be presented with 3 options: Filter / Computers and OU if I remember correctly.

    It's on the filter definition page, you know, where we normally force you guys to "Exclude computers not in" when you simply want to include computers ;).



  • 3.  RE: How to create a Filter Based on Active Directory OU?

    Posted Dec 08, 2012 06:35 AM

    Hi,

    The easiest way is to enable “Create organizational unit filters” in AD Import rule.

    If this option is enabled, then filters will be created automatically.

    NOTE: This could significantly slow down AD Import, depending on your structure.



  • 4.  RE: How to create a Filter Based on Active Directory OU?

    Broadcom Employee
    Posted Dec 08, 2012 10:19 AM

    Okay, I did well to check on my server, as my previous answer applies to targets in policies, not filters.

    To an an OU into a filter you use the "Explicit Inclusions and Exclusions" section. Click on the selector (the link normally showinfg "0 resources found" on a new filter. It will open the selector window from which you have access to the Organizational Views and Group. Here's a scren shot:



  • 5.  RE: How to create a Filter Based on Active Directory OU?

    Broadcom Employee
    Posted Dec 08, 2012 10:20 AM

    Nice one, I should have refreshed the window before posting my screen shot :D.



  • 6.  RE: How to create a Filter Based on Active Directory OU?
    Best Answer

    Posted Dec 08, 2012 12:27 PM

    The automatically created filters have a raw SQL definition:

    SELECT Guid FROM ItemResource r join dbo.[Inv_OU_Membership] t on t.[_ResourceGuid] = r.[Guid] AND t.[Distinguished Name] = N'OU=CONTACTS,OU=EXCHANGE,DC=FABRIKAM,DC=COM'


  • 7.  RE: How to create a Filter Based on Active Directory OU?

    Posted Dec 11, 2012 12:37 PM

    Hey guys !  Thanks for all the responses.  I tested the the "Explicit Inclusions and Exclusions" and the "Raw SQL" method.  I created the filter and then I created a new computer object in the OU. 

    The "Raw SQL" method updates and reflects the new computer, but the the "Explicit Inclusions and Exclusions" does not. 

    I am great with using the RAW SQL method.  This is great, thanks Andykn101