Category: Exchange 2007

  • 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 daniel@domain.com: proxyAddresses=smtp:daniel@domain.com LDAP query to find all objects that uses the email domain domain.com: proxyAddresses=smtp:*@domain.com

  • Search, list and export all mail contacts email addresses in Exchange

    In Exchange Management Shell: Get-MailContact | select DisplayName -ExpandProperty EmailAddresses | select DisplayName, SmtpAddress | export-csv C:\mailcontacts_address.csv

  • Search, list and export all distribution groups email addresses in Exchange

    In Exchange Management Shell: Get-DistributionGroup | select DisplayName -ExpandProperty EmailAddresses | select DisplayName, SmtpAddress | export-csv C:\dg_email_address.csv

  • Search, list and export all mailbox email addresses in Exchange

    In Exchange Management Shell: get-mailbox | select DisplayName -ExpandProperty EmailAddresses | select DisplayName, SmtpAddress | export-csv C:\mailbox_email_address.csv

  • 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 smtp.domain.com 25 helo (press enter) mail from:sender@domain.com (press enter) rcpt to:recipient@domain.com (press enter) data (press enter) write your massage (press enter) . (press enter) quit

  • 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…

  • 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 Example:…

  • 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