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