Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 76
  • Last Modified:

get an email list for an OU exported to excel

need to provide a report of email address for an OU
0
Jorge Ocampo
Asked:
Jorge Ocampo
  • 2
1 Solution
 
Rajitha ChimmaniCommented:
Please elaborate your question. Are you looking for all objects emailaddresses within an OU? What is the Exchange version?
0
 
Jorge OcampoAuthor Commented:
yes correct exchange 2010
0
 
Rajitha ChimmaniCommented:
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!

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now