We have just moved onto exchange 2010 and I wanting to create query based distribution groups based on OU's. As there is now wizard within 2010 I am a little unsure as to how to go about this. I am led to believe I now need a scritp to do this.
Any help would be greatly appreciated.
What's the goal of the query?
You can use pipelining to make the query simple and to reduce complexity. see this link: http://technet.microsoft.com/en-us/library/aa998260.aspx
Best Regards Don't forget to mark it as answer if it helps
I have tried this and get the following error. Any Ideas?
Delivery has failed to these recipients or groups:
The email address that you entered couldn't be found. Check the address and try resending the message. If the problem continues, please contact your helpdesk.
Diagnostic information for administrators:
Generating server: CRHV03.crhfsg-uk.co.uk
#550 5.1.1 RESOLVER.ADR.ExRecipNotFound; not found ##
Original message headers:
Received: from CRHV03.crhfsg-uk.co.uk ([fe80::451b:a27f:42cb:f770]) by
CRHV03.crhfsg-uk.co.uk ([fe80::451b:a27f:42cb:f770%12]) with mapi id
14.01.0289.001; Fri, 15 Jul 2011 15:24:50 +0100
Content-Type: application/ms-tnef; name="winmail.dat"
From: "Smith, Stacey" <Stacey.Smith@crhfsg-uk.co.uk>
To: "All@Doncaster" <All_at_Doncaster@crhfsg-uk.co.uk>
Subject: FW: test
Date: Fri, 15 Jul 2011 15:24:50 +0100
Accept-Language: en-GB, en-US
So you have created the DDG successfully using the link provided by Leif?
Create a Dynamic Distribution Group
But after finishing, you cannot send a mail to the new DDG, right?
Please send the mail using Outlook online mode or OWA to test. If you are running Outlook in cached mode, please check whether Outlook downloads the latest OAB.