Solved

Get-mailbox command does not output phone numbers

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

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 35

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

Best Practices: Disaster Recovery Testing

Besides backup, any IT division should have a disaster recovery plan. You will find a few tips below relating to the development of such a plan and to what issues one should pay special attention in the course of backup planning.

Question has a verified solution.

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

This article explains in simple steps how to renew expiring Exchange Server Internal Transport Certificate.
After hours on line I found a solution which pointed to the inherited Active Directory permissions . You have to give/allow permissions to the "Exchange trusted subsystem" for the user in the Active Directory...
The video tutorial explains the basics of the Exchange server Database Availability groups. The components of this video include: 1. Automatic Failover 2. Failover Clustering 3. Active Manager
This video demonstrates how to sync Microsoft Exchange Public Folders with smartphones using CodeTwo Exchange Sync and Exchange ActiveSync. To learn more about CodeTwo Exchange Sync and download the free trial, go to: http://www.codetwo.com/excha…

688 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