Solved

Get-mailbox command does not output phone numbers

Posted on 2014-12-19
3
155 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
  • 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

Too many email signature changes to deal with?

Are you constantly being asked to update your organization's email signatures? Do they take up too much of your time? Wouldn't you love to be able to manage all signatures from one central location, easily design them and deploy them quickly to users. Well, you can!

Question has a verified solution.

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

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.
Read this checklist to learn more about the 15 things you should never include in an email signature.
In this video we show how to create a User Mailbox 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 Recipients >> Mailb…
In this video we show how to create a Distribution Group 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 Recipients >>…

910 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

23 Experts available now in Live!

Get 1:1 Help Now