Solved

Get-mailbox command does not output phone numbers

Posted on 2014-12-19
3
187 Views
Last Modified: 2015-04-22
I need to export mailboxes (Exch 2010) and would like the output file to list phone numbers that are populated in in the various mailbox properties fields for phone number. This is the command I'm running. What can I add to this command to achieve this?

Get-Mailbox -OrganizationalUnit "domain.local" -ResultSize Unlimited | Select-Object * | Export-csv C:\temp\Mailboxes.csv
0
Comment
Question by:ENTPF
[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
3 Comments
 
LVL 34

Expert Comment

by:Seth Simmons
ID: 40509775
those are active directory properties, not specific to exchange
use get-user (AD powershell) to pull phone numbers

Get-User | fl FirstName,LastName,Phone,MobilePhone

or whatever fields you want
0
 
LVL 4

Expert Comment

by:akalyan911
ID: 40509782
Hey.. i am not good with Exchange.. please go through the below tech net link.. you may have idea what need to..
http://www.adaxes.com/forum/viewtopic.php?t=2150&p=6972

But, using dsquery by dsget you can export the all the ad objects information..
 link : http://technet.microsoft.com/en-us/library/cc732535.aspx
0
 
LVL 34

Accepted Solution

by:
Seth Simmons earned 500 total points
ID: 40509818
that first link has nothing to do with the question; it refers to creating a shared mailbox
0

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Powershell help in Exchange 2013 4 34
Powershell Command for Distribution Lists 2 32
Purge \Deleted Items? 2 28
Exchange server licensing 2 36
Utilizing an array to gracefully append to a list of EmailAddresses
Scam emails are a huge burden for many businesses. Spotting one is not always easy. Follow our tips to identify if an email you receive is a scam.
In this video we show how to create an Address List 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 Organization >> Ad…
To add imagery to an HTML email signature, you have two options available to you. You can either add a logo/image by embedding it directly into the signature or hosting it externally and linking to it. The vast majority of email clients display l…

735 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