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

How extract email from active directory from built in queries?

Hi.  Is there a way I can extract users email using the built in Queries?  Thanks in advance.
0
Victor_Torres
Asked:
Victor_Torres
1 Solution
 
Will SzymkowskiSenior Solution ArchitectCommented:
You can use powershell to accomplish this. What version of Exchange are you running? For Exchange 2007 use Export-mailbox cmdlet. For Exchange 2010/2013 use New-MailboxExportRequest cmdlet.

If you need assistance let me know and I can help.

Will.
0
 
Guy LidbetterCommented:
Hi Victor,

Your question title says from active directory. If you mean the assigned email address you can use powershell on a DC or pc with admin tools installed.

Import-module activedirectory
Get-ADUser -resultsize Unlimited -properties mail | select Name, mail

Regards
Guy
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Cloud Class® Course: CompTIA Cloud+

The CompTIA Cloud+ Basic training course will teach you about cloud concepts and models, data storage, networking, and network infrastructure.

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