Our environment is Exchange 2007 SP3, but we have migrated our IT and other selected users to Exchange 2010 which we are rolling out. Our domain is exchange.com
We have several hundred Exchange distribution lists. Some of these contain external recipients (partner companies etc).
We have a partner company, domain.com, that we sometimes do business with. Some of their contacts are members of our DL's. Management have decided that they no longer want ANY domain.com addresses as members of our DL's.
Does anyone know a Powershell command I can run that will search ALL DL's and provide a list where this is any domain.com recipient in them?
And do we need to run this on an Exchange 2007 or Exchange 2010 machine, or does it not matter?