What's the best way to send an email to all users in a Company

Methodman85
Methodman85 used Ask the Experts™
on
Is there a way to send to all exchange recipients from outlook if you don't have all users in a distribution group?
If not, what's the easiest way to get all active users into a distribution group?
Comment
Watch Question

Do more with

Expert Office
EXPERT OFFICE® is a registered trademark of EXPERTS EXCHANGE®
Commented:
Easiest thing is to create an @ All Staff distribution group, what version of Exchange are you running?  For 2007/2010 here is a simple way to accomplish this with PowerShell.

http://www.exchangeninjas.com/DG4ServerUsers
Grab PowerGui from Quest software (its free) it makes search AD and performing actions such as adding to a group very easy.

Author

Commented:
This is the message I get below. Question: The -OrganizationUnit parameter, does that limit the query scope to the users container in AD?

[PS] C:\Documents and Settings\user>New-DynamicDistributionGroup -Name "Neptune2 Users" -OrganizationalUnit Users -RecipientFilter "((RecipientType -eq 'MailboxUser' -and Serve
rName -eq 'Neptune2') -and -not(Name -like 'SystemMailbox{*'))"
New-DynamicDistributionGroup : Cannot bind parameter 'RecipientFilter' to the target. Exception setting "RecipientFilter": "The value "MailboxUser" could not be converted to type M
icrosoft.Exchange.Data.Directory.Recipient.RecipientType."
At line:1 char:95
+ New-DynamicDistributionGroup -Name "Neptune2 Users" -OrganizationalUnit Users -RecipientFilter <<<<  "((RecipientType -eq 'MailboxUser' -and ServerName -eq 'Neptune2') -and -not(
Name -like 'SystemMailbox{*'))"
    + CategoryInfo          : WriteError: (:) [New-DynamicDistributionGroup], ParameterBindingException
    + FullyQualifiedErrorId : ParameterBindingFailed,Microsoft.Exchange.Management.RecipientTasks.NewDynamicDistributionGroup
Expert Spotlight: Joe Anderson (DatabaseMX)

We’ve posted a new Expert Spotlight!  Joe Anderson (DatabaseMX) has been on Experts Exchange since 2006. Learn more about this database architect, guitar aficionado, and Microsoft MVP.

Adam BrownSenior Systems Admin
Top Expert 2010
Commented:
You can also get this done in the Exchange Management Console by going to Recipient Configuration, then right clicking on Distribution Group and selecting New Dynamic Distribution Group. The wizard there will let you create a distribution group that includes all users. You can then send email to that distribution group and it will send email to all users. Any users that are added to AD (and are given an Exchange Mailbox) will be added to the group automatically.

Author

Commented:
If I do that is there any way to verify the query is including all of the users?
Adam BrownSenior Systems Admin
Top Expert 2010

Commented:
Absolutely. When the Distribution Group is created, you can preview the users that are included in the Query by right clicking the Distribution group in EMC and selecting properties. On the Conditions tab, there is a Preview button that, when clicked, will show you which users are included in the query. You can then modify the conditions and filters used from the different tabs in the Properties screen.

Do more with

Expert Office
Submit tech questions to Ask the Experts™ at any time to receive solutions, advice, and new ideas from leading industry professionals.

Start 7-Day Free Trial