Solved

Get-mailbox command does not output phone numbers

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

Highfive Gives IT Their Time Back

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

Utilizing an array to gracefully append to a list of EmailAddresses
Resolve Outlook connectivity issues after moving mailbox to new Exchange 2016 server
In this video we show how to create a Shared 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 >> Sha…
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…

746 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

13 Experts available now in Live!

Get 1:1 Help Now