Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

get an email list for an OU exported to excel

Posted on 2014-11-06
3
Medium Priority
?
74 Views
Last Modified: 2014-11-12
need to provide a report of email address for an OU
0
Comment
Question by:Jorge Ocampo
  • 2
3 Comments
 
LVL 16

Expert Comment

by:Rajitha Chimmani
ID: 40426920
Please elaborate your question. Are you looking for all objects emailaddresses within an OU? What is the Exchange version?
0
 
LVL 2

Author Comment

by:Jorge Ocampo
ID: 40426941
yes correct exchange 2010
0
 
LVL 16

Accepted Solution

by:
Rajitha Chimmani earned 2000 total points
ID: 40426957
Still, your request is not complete. However, this is the basic command you may use

Get-Mailbox -Resultsize unlimited -OrganizationalUnit <fqdnofOU> | Select primarysmtpaddress >> emails.csv

Open in new window

0

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Transferring FSMO roles is done when an admin wants to split roles between certain Domain Controllers or the Domain Controller holding the Roles has been forcefully demoted using dcpromo / forceremoval
Mailbox Corruption is a nightmare every Exchange DBA wishes he never has. Recovering from it can be super-hectic if not entirely futile. And though techniques like the New-MailboxRepairRequest cmdlet have been designed to help with fixing minor corr…
To add imagery to an HTML email signature, you have two options available to you. You can either add a logo/image by embedding it directly into the signature or hosting it externally and linking to it. The vast majority of email clients display l…
This video shows how to use Hyena, from SystemTools Software, to bulk import 100 user accounts from an external text file. View in 1080p for best video quality.

886 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