Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

How do I select the custom attribute from the Exchange powershell command get-mailboxstatistics? I would have expected to use something along the lines of

get-mailboxstatistics -server dbserver | select DisplayName, ItemCount, {$_.TotalItemSize.value.toMB()}, Database, ***customattribute3*** | export-csv c:\allusers.csv -encoding "unicode"

Is extracting a custom attribute possible?

share|improve this question
up vote 1 down vote accepted

The attribute "CustomAttribute" is part of the Get-Mailbox Cmdlet, so I'd suggest to incorporate this Cmdlet in your script.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.