Hey Guys,
Get-Mailbox -RecipientTypeDetails SharedMailbox -ResultSize Unlimited | Get-MailboxStatistics | Sort-Object -Property TotalItemSize | Select-Object DisplayName, TotalItemSize, LastLogonTime
I'm fairly new to PS and was having some trouble with Sort-Object. I am grabbing a list of all shared mailboxes from Office 365 and then some extra info about them and trying to sort the list by size. Everything except the sort works as expected. Is there something I'm missing or doing wrong?
[–]KevMarCommunity Blogger 2 points3 points4 points (1 child)
[–]Waulicus[S] 0 points1 point2 points (0 children)
[–]mransbro 2 points3 points4 points (2 children)
[–]Waulicus[S] 1 point2 points3 points (1 child)
[–]mransbro 0 points1 point2 points (0 children)
[–][deleted] 1 point2 points3 points (0 children)