Exchange power shell script to find all users mailbox sizes
We are using Mozilla Thunderbird in our organization where we cannot set default incoming mail in personal folder and we are taking daily backup of exchange.
Problem : As we are taking backup of exchange server, backup size is increased day by day so we need to check which user has go above mail box size. This scrip will help to get out to find all users mailbox sizes.
One of the Exchange Server organization arrange I perform practically consistently is making Mail box estimate reports
There are a couple of various reasons that I make these reports, for example, arranging a Mail drop relocation extend, reacting to a capacity limit caution for a specific database, or giving a particular group of individuals with a report of their post box sizes.
Presently it is really simple to get the sizes for Exchange Mail boxes and to handle the organizing of the Exchange 2010 post box insights with the goal that they are less demanding to perform counts on, yet it gets somewhat exhausting pursuing those summons day.
Far and away more terrible, in the wake of running the orders to make a CSV report despite everything I needed to open that in Excel, evacuate the undesirable points of interest, utilize Excel equations to change over the qualities from bytes to megabytes, sort them into request, etc. Again not troublesome, simply exhausting in the wake of doing it several circumstances.
So I made a PowerShell script, Get-MailboxReport.ps1, to do the greater part of the truly difficult work for me, and I’m offering that script to you here.
Get-MailboxStatistics -Database “Mailbox Database Name here” | Select DisplayName, ItemCount, TotalItemSize | Sort-Object TotalItemSize -Descending | Export-CSV C:\MBSizes.csv