Solved

Export User Data from Exchange Console 2010

Posted on 2014-11-06
4
86 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:Ricardo Salazar
[X]
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
  • 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:Ricardo Salazar
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:Ricardo Salazar
ID: 40661501
No
0

Featured Post

U.S. Department of Agriculture and Acronis Access

With the new era of mobile computing, smartphones and tablets, wireless communications and cloud services, the USDA sought to take advantage of a mobilized workforce and the blurring lines between personal and corporate computing resources.

Question has a verified solution.

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

MS Outlook is a world-class email client application that is mainly used for e-communication globally.  In this article, we will discuss the basic idea about MS Outlook, its advanced features, and types of MS Outlook File formats.
This article was originally published on Monitis Blog, you can check it here . Today it’s fairly well known that high-performing websites and applications bring in more visitors, higher SEO, and ultimately more sales. By the same token, downtime…
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 …
In this video we show how to create an Accepted Domain in Exchange 2013. We show this process by using the Exchange Admin Center. Log into Exchange Admin Center.: First we need to log into the Exchange Admin Center. Navigate to the Mail Flow >> Ac…

742 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