2

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?

marcwenger
  • 235
  • 1
  • 6
  • 21

1 Answers1

1

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

MDMarra
  • 100,734
  • 32
  • 197
  • 329
Andor
  • 152
  • 2
  • 8