?
Solved

Create Exchange 2010 address list

Posted on 2011-09-29
4
Medium Priority
?
267 Views
Last Modified: 2012-05-12
Hi all I need to divide the GAL in smaller address list based on mail domain.
I would like to get a list containing the addresses @companyA.com

  List B containing the company addresses  @companyB.com etc.
Thank you
0
Comment
Question by:pozlu0
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
4 Comments
 
LVL 19

Accepted Solution

by:
Raheman M. Abdul earned 1000 total points
ID: 36813747
Try
Simple: Get-Mailbox * | where { $_.PrimarySMTPAddress.Domain -eq 'yourdomain.com' }



Get-Mailbox * -Organizationalunit 'yourdomain.com/Office/London/Mailgroups' | where { $_.PrimarySMTPAddress.Domain -eq 'yourdomain.com' }

or

Get-DistributionList *  -Organizationalunit 'yourdomain.com/Office/London/Mailgroups' | where { $_.PrimarySMTPAddress.Domain -eq 'yourdomain.com' }


0
 
LVL 21

Expert Comment

by:Hendrik Wiese
ID: 36916453
CREATE MULTIPLE ADDRESS LISTS BASED ON COMPANY ATTRIBUTE

1. On each user, simply change the Company in the Organization tab to Company1 for the users in Company1 and do the same for Company 2 and 3.
2. Now run the following in EMS (This will create ‘Company 1' GAL which includes all type of recipients with a Company Attribute of Company1.):

As per my Article here
0
 
LVL 21

Assisted Solution

by:Hendrik Wiese
Hendrik Wiese earned 1000 total points
ID: 36916469
Sorry forgot the script:

New-GlobalAddressList -Name "Company1" -ConditionalCompany "Company1" -IncludedRecipients "AllRecipients"

Open in new window

0

Featured Post

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

MS Outlook is a world-class email client application that is mainly used for e-communication globally.  In this article, we will discuss the basic idea about MS Outlook, its advanced features, and types of MS Outlook File formats.
Unified and professional email signatures help maintain a consistent company brand image to the outside world. This article shows how to create an email signature in Exchange Server 2010 using a transport rule and how to overcome native limitations …
In this video we show how to create an Address List in Exchange 2013. We show this process by using the Exchange Admin Center. Log into Exchange Admin Center.: First we need to log into the Exchange Admin Center. Navigate to the Organization >> Ad…
To show how to generate a certificate request in Exchange 2013. We show this process by using the Exchange Admin Center. Log into Exchange Admin Center.:  First we need to log into the Exchange Admin Center. Navigate to the Servers >> Certificates…
Suggested Courses

770 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question