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

Get-mailbox command does not output phone numbers

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
  • 2
1 Solution
Seth SimmonsSr. Systems AdministratorCommented:
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
akalyan911Technical ConsultantCommented:
Hey.. i am not good with Exchange.. please go through the below tech net link.. you may have idea what need to..

But, using dsquery by dsget you can export the all the ad objects information..
 link : http://technet.microsoft.com/en-us/library/cc732535.aspx
Seth SimmonsSr. Systems AdministratorCommented:
that first link has nothing to do with the question; it refers to creating a shared mailbox
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

Free tool for managing users' photos in Office 365

Easily upload multiple users’ photos to Office 365. Manage them with an intuitive GUI and use handy built-in cropping and resizing options. Link photos with users based on Azure AD attributes. Free tool!

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