Rebelz – We have one of Europe’s widest ranges of BJJ & Grappling gear.

Export mailbox to PST Exchange 2007

You must run this from a 32-bit Windows OS (I used Windows 7 Ent. 32-bit) with Exchange Management Tools installed, version Exchange 2007 SP1 or later, (I used Exchange 2007 SP3 with update rollup 13) and Outlook 2003 or Outlook 2007 (I used Outlook 2007 with SP3).

Microsoft Exchange Server 2007 Management Tools (32-Bit) download.

Start Exchange Management Shell (EMS) from the client that is member in the same domain as the exchange server. Your user account must be an Exchange Organization Admin or an Exchange Server Admin on the Exchange server who has the mailboxes you want to export.

Your account must have full mailbox access on the mailboxes you want to export.

Example. anna is the alias for the users mailbox you want to export. danieladmin is your account.
Run this command from EMS:
Add-MailboxPermission -Identity anna -User danieladmin -AccessRights FullAccess

To export annas mailbox:
Export-Mailbox -Identity anna -PSTFolderPath \\fileserver\PSTexport


Modify Exchange database size limit & event id: 9688

Event ID: 9688
Source: MSExchangeIS Mailbox Store
Exchange store ‘<storage group name>\<database name>’: The logical size of this database (the logical size equals the physical size of the .edb file minus the logical free space) is 94 GB. This database size is approaching the size limit of 100 GB. If the logical database size exceeds the maximum size limit, it will be dismounted on a regular basis.

To change the size limit of the Exchange 2007 database do the following on the mailbox server:
1. In Exchange Management Shell run this command to get the database GUID:
Get-MailboxDatabase -Identity “<server name>\<storage group name>\<database name>” | Format-Table Name, GUID

2. Start regedit and locate the following key:
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\MSExchangeIS\<SERVER NAME>\Private-<database GUID>

3. If the DWORD key “Database Size Limit in Gb” exists, change the value to desired size in GB.4. If the DWORD key “Database Size Limit in Gb” does not exists, create a new DWORD key with the name Database Size Limit in Gb and change the value to desired size in GB.


4. Restart the Exchange Information Store service.

For more information:

Removing disconnected mailboxes in Exchange 2007

In Exchange Management Console you can’t purge disconnected mailboxes. To delete a disconnected mailbox in Exchange 2007 do the following:

1. List all disconnected mailboxes in Exchange Management Shell.
> Get-MailboxStatistics | where-object { $_.DisconnectDate -ne $null } | Select DisplayName,MailboxGuid

2. Remove a mailbox
> Remove-Mailbox -Database <database name> -StoreMailboxIdentity <mailbox guid> -confirm:$false

> Remove-Mailbox -Database companyname -StoreMailboxIdentity 6c158c01-0e3f-4a71-8dda-e74921b90b71 -confirm:$false

To remove all disconnected mailboxes i found this on MPCPblog:
1. Remove all disconnected mailboxes
> $users = Get-MailboxStatistics | where-object { $_.DisconnectDate -ne $null } | Select DisplayName,MailboxGuid,Database

2. Now, all disconnected mailboxes are in a variable and you need to run following cmdlet to remove all of them
> $users | ForEach { Remove-Mailbox -Database $_.Database -StoreMailboxIdentity $_.MailboxGuid -confirm:$false }

Display mailbox size in Exchange 2007

To display mailbox size in Exchange 2007 run this command in Exchange Management Shell.
get-mailboxstatistics | fl displayname, totalitemsize

To pipe the output into a text file.
get-mailboxstatistics | fl displayname, totalitemsize > c:\mailboxsize.txt

veiwing mailbox sizes in exchange 2007