I'm trying to check the TotalItemsSize for a specific mailbox using PowerShell. When I run the command `Get-MailboxStatistics -Identity | fl`, it correctly displays various attributes including TotalItemSize. However, when I try to get just that value using `Get-MailboxStatistics -Identity | select-object TotalItemsSize | fl`, I end up with no value shown for TotalItemsSize. Can anyone explain why it's not displaying the expected result? I'm connected to Exchange Online using remote PowerShell.
1 Answer
It looks like the issue is just a typo in your second command. You wrote TotalItemsSize with an extra 's'. The correct command should be `Get-MailboxStatistics -Identity | select-object TotalItemSize | fl`. That should fetch you the right value!
Bingo! I can't believe I missed that. Thanks a ton for pointing it out!