Announcement

Collapse
No announcement yet.

Powershell Mailbox Statstic Report with OU column

Collapse
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • Powershell Mailbox Statstic Report with OU column

    How do I add user's OU to this report?

    Get-mailboxserver | Get-MailBoxStatistics | Sort TotalItemSize -Descending |select-object DisplayName,@{name="Mailbox Size(MB)";expression={$_.TotalItemSize.Value.ToMB( )}}, StorageLimitStatus, database | convertto-html


    I tried adding the red color code but it wouldn't work:

    Get-mailboxserver | Get-MailBoxStatistics | Sort TotalItemSize -Descending |select-object DisplayName,@{name="Mailbox Size(MB)";expression={$_.TotalItemSize.Value.ToMB( )}}, StorageLimitStatus, database, | get-mailbox | select-object organizationalunit | convertto-html

  • #2
    Re: Powershell Mailbox Statstic Report with OU column

    oU isn't something that outputs from get-mailboxstatistics unfortunately - it's not an attribute of that..
    Please do show your appreciation to those who assist you by leaving Rep Point https://www.petri.com/forums/core/im.../icon_beer.gif

    Comment

    Working...
    X