How to get Mailbox usage using PowerShell in Exchange Online #PowerShell #ExchangeOnline

preview_player
Показать описание
Hi Everyone,
In today's video, I will show how you can use PowerShell to Get UserMailbox or Sharedmailbox usage. They all show you the same result, with slight differences, and I used them a lot at work.

First Command

Get-Mailbox -Identity "MailboxName" | Get-MailboxStatistics | Select-Object DisplayName, ItemCount, TotalItemSize | Format-Table –autosize

Second Command

Get-Mailbox | Get-MailboxStatistics | Select-Object DisplayName, @{name=”TotalItemSize (GB)”;expression={[math]::Round((($_.TotalItemSize.Value.ToString()).Split(“(“)[1].Split(” “)[0].Replace(“,”,””)/1GB),2)}},ItemCount | Sort “TotalItemSize (GB)” -Descending
Рекомендации по теме
Комментарии
Автор

Thank you for this. Can you show how to increase an individual's mailbox size?

avdr
Автор

What if you want to list down all the shared mailboxes you have so i can then find out who got access to what, how can i do this?

sunny
Автор

How do I find a powershell command to check when user mailbox was converted in powershell??

_zubairkazi
Автор

Hello TechTrip, thank you for this.

can i ask ? what is the command when you are going to purge a certain mailbox? like in outlook app user unable to delete or receive emails. sometimes i cause due to usage are too large or within the mailbox capacity. thanks sir

DMBTravels
Автор

how can we get all unlicensed shared mailbox size?

shailendrapuri
Автор

Hi.. can i export all outlook mail to pst format only use powershell

yogeshm