Category Archives: Microsoft Exchange

Microsoft Exchange

Exchange 2010: Verify database white space

admin/ March 25, 2015/ Microsoft Exchange, PowerShell/ 0 comments

Running the following command on an attached database will return only the available space in the root tree of the database: Get-MailboxDatabase “databasename” | select Name, AvailableNewMailboxSpace To properly check for white space, you need to dismount the database and use the ESEUTIL tool: eseutil /ms .\databasename.edb

List all permissions on Mailbox

admin/ January 16, 2015/ Microsoft Exchange, PowerShell/ 0 comments

EMC does not always show the full list of users with permissions on a mailbox. To view the full list, use following PowerShell command. (change ‘usermailbox’ to the desired mailbox)  Get-MailboxPermission -id usermailbox | fl user, accessrights

Exchange 2010: How to list folders in mailboxes (PS)

admin/ July 8, 2014/ Microsoft Exchange, PowerShell/ 0 comments

First store the output of the Get-Mailbox cmdlet in a variable. We do this to prevent piping errors when running multiple pipeline commands at the same time. $mailboxes = Get-Mailbox Run the following script to create a .csv file that contains ‘MailBox – # items in folder – folder size’. $mailboxes | Select-Object alias | foreach-object {Get-MailboxFolderStatistics -Identity $_.alias |

Read More

Exchange 2010: Create list mailbox sizes (PS)

admin/ June 27, 2014/ Microsoft Exchange, PowerShell/ 0 comments

Create list Exchange 2010 mailbox size (PowerShell) For just 1 mailbox database: Get-MailboxStatistics -Database “Mailbox Database Name” | Select DisplayName, ItemCount, TotalItemSize | Sort-Object TotalItemSize -Descending | Export-CSV C:\TEMP\RPT_DB_Mailbox_Size.csv For the entire server: Get-MailboxStatistics -Server “Server Name” | Select DisplayName, ItemCount, TotalItemSize | Sort-Object TotalItemSize -Descending | Export-CSV C:\TEMP\RPT_SVR_Mailbox_Size.csv