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

I need to export names from exchange 2010 to a CSV file

So I am runing exchange 2010 and I need to export names to a CSV file to make sire that the file matches the master employee list.  how do I export those names
0
IBM-server
Asked:
IBM-server
1 Solution
 
KenMcFCommented:
You can use
get-mailbox | where {$_.RecipientType -eq "UserMailbox"} |  select name | export-csv c:\users.csv

What inofmation are you looking for just names?

What is the master employee list format, you could import that and check for mailbox or the other way around.

0
 
rr1968Commented:
Get-Mailbox | fl Name >c:\users.csv
0
 
IBM-serverAuthor Commented:
Yes I only need the names of the users that have mail boxes to makes suret that they match the master employee list
0
 
Glen KnightCommented:
This question has been classified as abandoned and is being closed as part of the Cleanup Program. See my comment at the end of the question for more details.
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

Has Powershell sent you back into the Stone Age?

If managing Active Directory using Windows Powershell® is making you feel like you stepped back in time, you are not alone.  For nearly 20 years, AD admins around the world have used one tool for day-to-day AD management: Hyena. Discover why.

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