Get if mailenabled groups are hidden from GAL


I am trying to get mail-enabled group from AD and still cannot get good values for msExchHideFromAddressLists .

Get-QADGroup -SearchRoot  'xxx' -LdapFilter "(mail=*)" -IncludeAllProperties | select displayname,msExchHideFromAddressLists

Its appears only with a few groups.

But if I do it this way.

Get-QADGroup -SearchRoot  'xxx' -LdapFilter "(mail=*)" -IncludeAllProperties | fl

It appears there.

Any Idea?

Many thanks
Who is Participating?
daveTechSearchConnect With a Mentor Commented:
are you attempting to retrieve mail enabled groups ONLY if they are hidden from the GAL?
Radim88Author Commented:
exchange 2003
Radim88Author Commented:
thx, I managed it in another way.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.