I have been tasked with finding all groups that are mail enabled and are not universal groups.
I can't figure out the switch to use to find if the group is mail enabled.
This is the command I have developed: Get-QADGroup -GroupType Security ; Distribution -LdapFilter "(email=*)"
But the above command does not return if it is mail enabled. I also want it to query both security and distribution.
I'll then need to set the Security, Distribution groups to Universal from this query.Thanks,
Thank you very much.