Computer Group Relevence Problem

(imported topic written by jdefilip)

I’m trying to create a computer group that will query the computer names from a specific OU. Can someone assist???

((windows of it) of operating system) AND (((exists value whose(it as lowercase =

"AD-Test-Group"
as lowercase ) of components whose(type of it=

“CN”
) of distinguished names ((distinguished names of groups of it; distinguished names of it) of local computer of it))) of active directory

(imported comment written by Tim.Rice)

I can’t claim the credit for this, this relevance came from my Console and was generated when I created an Automatic Group and configured it to include Computers with the Following Property: Active Directory Path (you have to scroll up to see it), CONTAINS, “AD-Test-Group”.

(version
of
client

=

“6.0.0.0”
)
AND
(exists true whose (if true then (exists (if exists value of settings “_BESClient_ActiveDirectoryPathOverride” of client then value of setting “_BESClient_ActiveDirectoryPathOverride” of client else if exists true whose (if true then exists distinguished name of local computer of active directory else false) then distinguished name of local computer of active directory else “”) whose (it as string as lowercase contains “AD-Test-Group” as lowercase)) else false))

(imported comment written by jdefilip)

Thanks Tim! I will test the relevance with an automatic computer group.

(imported comment written by jdefilip)

This does work for OU’s I tested with success. Is it possible for this to work with a AD Security Group? I tried the revelance below and it does not work.

(version of client >= “6.0.0.0”) AND (exists true whose (if true then (exists (if exists value of settings “_BESClient_ActiveDirectoryPathOverride” of client then value of setting “_BESClient_ActiveDirectoryPathOverride” of client else if exists true whose (if true then exists distinguished name of local computer of active directory else false) then distinguished name of local computer of active directory else “”) whose (it as string as lowercase contains “Test Security Groupr” as lowercase)) else false))

(imported comment written by Tim.Rice)

( (windows of it) of operating system) AND ( ((exists value whose(it as lowercase = “TEM-AD-Test-Group” as lowercase ) of components whose(type of it=“CN”) of distinguished names ((distinguished names of groups of it; distinguished names of it) of local computer of it))) of active directory)