Solved

Export User Data from Exchange Console 2010

Posted on 2014-11-06
4
73 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
Comment Utility
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
Comment Utility
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
Comment Utility
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
Comment Utility
No
0

Featured Post

Maximize Your Threat Intelligence Reporting

Reporting is one of the most important and least talked about aspects of a world-class threat intelligence program. Here’s how to do it right.

Join & Write a Comment

Suggested Solutions

Title # Comments Views Activity
Cannot expand the folder in Outlook 6 19
excahne, lync 9 21
exchange 2 32
View More Items in Exchange - Outlook 2016 3 17
We are happy to announce a brand new addition to our line of acclaimed email signature management products – CodeTwo Email Signatures for Office 365.
Marketers need statistics and metrics like everybody else needs oxygen. In this article we explain how to enable marketing campaign statistics for Microsoft Exchange mail.
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…

762 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

9 Experts available now in Live!

Get 1:1 Help Now