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

Add permission on all public folders in Exchange

I used this to get folder owner permissions on all public folders for the user daniel.

In Exchange Management Console:
Get-PublicFolder -recurse | Add-PublicFolderClientPermission -User daniel -AccessRights FolderOwner
Get-PublicFolder -recurse | Add-PublicFolderAdministrativePermission -User daniel -AccessRights AllExtendedRights

Search for an email address in Exchange / Active Directory

Open Active Directory Users and Computers. Right click on the domain and choose find. Change to custom search in the find field. Click on the advanced tab to enter a LDAP query.

LDAP query to find the email address

LDAP query to find all objects that uses the email domain

452 4.3.1 insufficient system resources

E-mails in the mail queue on the Exchange Edge server gets last error “452 4.3.1 insufficient system resources” when trying to send them to the Exchange HUB/Transport server.

Check the disk space on the Exchange HUB/Transport server. You need to have at least 4GB free space on the Exchange HUB/Transport server.

Send e-mail via telnet

telnet 25
(press enter)
(press enter)
(press enter)
(press enter)
write your massage
(press enter)
(press enter)

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

1 2