Solved

Export User Data from Exchange Console 2010

Posted on 2014-11-06
4
80 Views
Last Modified: 2015-03-12
Good evening,
 I need to export user data from the Exchange 2010 powershell console :

 -- Usuario de Red (SamAccountName)
 -- Nombre para mostrar (DisplayName)
-- Correo Electrónico (Email Address)
 -- Alias de usuario (Alias)
 -- Unidad Organizativa (Organizational Unit)

 I can help with the script.
  best regards
0
Comment
Question by:rikardoperu
  • 2
4 Comments
 
LVL 5

Expert Comment

by:Armenio
ID: 40427578
This script has most of what you want/ feel free to add to it.

Get-Mailbox -ResultSize Unlimited |Select-Object DisplayName,ServerName,PrimarySmtpAddress, @{Name=“EmailAddresses”;Expression={$_.EmailAddresses |Where-Object {$_.PrefixString -ceq “smtp”} | ForEach-Object {$_.SmtpAddress}}} | Export-CSV c:\smtp.csv -NoTypeInformation
0
 
LVL 1

Accepted Solution

by:
Deorali earned 500 total points
ID: 40427582
This will provide you exactly what you want :

get-mailbox -resultSize unlimited | Select-Object SAMAccountName,DisplayName,PrimarySMTPAddress,Alias,OrganizationalUnit | Export-Csv -path c:\users.csv -noTypeInformation

Open in new window

0
 

Author Comment

by:rikardoperu
ID: 40428348
Thanks Deorali
the script returns me only the data resulting from the main Forest domain, but are not the other subdomains
0
 

Author Closing Comment

by:rikardoperu
ID: 40661501
No
0

Featured Post

Don't lose your head updating email signatures!

Do your end users still have the wrong email signature? Do email signature updates bore you or fill you with a sense of dread? You can make this a whole lot easier on yourself by trusting an Exclaimer email signature management solution. Over 50 million users do...so should you!

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
as logs exchange 2010 7 19
iPhone excel activation issues 11 66
Exchange 2010 Certs 2 14
Exchange 2007 Active Directory requiements 4 26
Disabling the Directory Sync Service Account in Office 365 will stop directory synchronization from working.
ADCs have gained traction within the last decade, largely due to increased demand for legacy load balancing appliances to handle more advanced application delivery requirements and improve application performance.
In this video we show how to create a Resource Mailbox in Exchange 2013. We show this process by using the Exchange Admin Center. Log into Exchange Admin Center.: Navigate to the Recipients >> Resources tab.: "Recipients" is our default selection …
The basic steps you have just learned will be implemented in this video. The basic steps are shown to configure an Exchange DAG in a live working Exchange Server Environment and manage the same (Exchange Server 2010 Software is used in a Windows Ser…

914 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

Need Help in Real-Time?

Connect with top rated Experts

13 Experts available now in Live!

Get 1:1 Help Now