Forum Discussion
O365 Group Mailbox Reports?
- Feb 08, 2018
The only reason you would need an EO2 license for shared/room mailbox is if you have enabled hold, and if you are applying a license anyway, you should just make it a user mailbox.
Onto the Groups question, you can simply use the "calculated property" method:
Get-UnifiedGroup | select DisplayName,Recipient*,@{n="Size";e={(Get-MailboxStatistics $_.Identity).TotalItemSize}} DisplayName RecipientType RecipientTypeDetails Size ----------- ------------- -------------------- ---- Unified MailUniversalDistributionGroup GroupMailbox 1.314 MB (1,377,400 bytes) First group MailUniversalDistributionGroup GroupMailbox 7.702 MB (8,076,248 bytes)
You can add other properties as needed, but in general is better to write a proper script instead of using oneliners and the pipeline.
Clearly Vasil answered before I could... In any case, I agree that the best approach is to use a more structured script to fetch and format the desired information. Take a look at the script described in the https://www.petri.com/identifying-obsolete-office-365-groups-powershell article - I bet you could repurpose it to do what you want.
Thanks a lot TonyRedmond. That Petri article gets me a long way toward what I was looking for - the ability to ID the predominant workload of a Group and understand better which services were generating the most groups.
- TonyRedmondFeb 08, 2018MVP
No worries. It's amazing what a little PowerShell can do...