Question : Mail enabled Security Groups in Powershell

Hello,

I would like to get a list of all mail enabled global security groups in AD using Powershell. How do I do this?

Tacobell2000

Answer : Mail enabled Security Groups in Powershell


You pretty much answered your own question there :)

Get-QADGroup -GroupType Security -GroupScope Global -LdapFilter "(mail=*)"

We might consider a better field to check on that mail to figure out if they're mail enabled, perhaps legacyExchangeDN.

Chris
Random Solutions  
 
programming4us programming4us