Get Sent Items behavior Exchange Onprem

Get Sent Items behavior Exchange Onprem

Hello,

On Exchange on prem, you have two ways to manage how sent items are handle with shared mailboxes. You can use the GPO way, or you can modify a set the behavior on the mailboxes.

Note: You should not use both, it could duplicate mails, you need to choose one.

Set Sent Items behavior Exchange Onprem

You can change the default behavior with the cmdlet

Get Sent Items behavior Exchange Onprem

You can check the applied settings with PowerShell, there is two ways, one for Exchange 2010 and one for Exchange 2013.

Exchange 2010

$AllMailboxes = Get-Mailbox -ResultSize Unlimited 
ForEach($mbx in $AllMailboxes){

    $temp = Get-MailboxSentItemsConfiguration -Identity $mbx.DistinguishedName
    
    New-Object -TypeName PSObject -Property @{
        Name                        = $mbx.Alias
        SendAsItemsCopiedTo         = $temp.SendAsItemsCopiedTo
        SendOnBehalfOfItemsCopiedTo = $temp.SendOnBehalfOfItemsCopiedTo
    }
}
Get Sent Items behavior Exchange Onprem - Exchange 2010

Get Sent Items behavior Exchange Onprem – Exchange 2010

Exchange 2013

Get-Mailbox | Select-Object -Property DisplayName,MessageCopy*
Get Sent Items behavior Exchange Onprem - Exchange 2013

Get Sent Items behavior Exchange Onprem – Exchange 2013

You can use use to assess your Exchange deployment.

Exchange Online

For Exchange Online, you may want to stick with client registry keys, in my testing this is the method with the higher success rate. If you are in the process of migrating from Exchange OnPrem to Exchange Online, you really need to handle the transition properly to avoid duplicate sent items.

 

 

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.