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
Solved

How extract email from active directory from built in queries?

Posted on 2015-02-13
2
59 Views
Last Modified: 2015-02-20
Hi.  Is there a way I can extract users email using the built in Queries?  Thanks in advance.
0
Comment
Question by:Victor_Torres
2 Comments
 
LVL 53

Expert Comment

by:Will Szymkowski
ID: 40609320
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
 
LVL 13

Accepted Solution

by:
Guy Lidbetter earned 500 total points
ID: 40609336
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

Featured Post

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Question has a verified solution.

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

New Windows 7 Installations take days for Windows-Updates to show up and install. This can easily be fixed. I have finally decided to write an article because this seems to get asked several times a day lately. This Article and the Links apply to…
Restoring deleted objects in Active Directory has been a standard feature in Active Directory for many years, yet some admins may not know what is available.
This tutorial will walk an individual through the steps necessary to join and promote the first Windows Server 2012 domain controller into an Active Directory environment running on Windows Server 2008. Determine the location of the FSMO roles by lo…
This tutorial will show how to configure a new Backup Exec 2012 server and move an existing database to that server with the use of the BEUtility. Install Backup Exec 2012 on the new server and apply all of the latest hotfixes and service packs. The…

789 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