locked
Shared mailbox sent items RRS feed

  • Question

  • Hello,

    Exchange 2010 SP3 includes a feature as mentioned below

    Get-MailboxSentItemsConfiguration "email address of shared mailbox"

    Change the behaviour after sp3
    Set-MailboxSentItemsConfiguration "email address of shared mailbox" -SendAsItemsCopiedTo From

    Set-MailboxSentItemsConfiguration "email address of shared mailbox" -SendAsItemsCopiedTo Sender

    If there are multipple mailbox , how to enable this feature.

    Regards


    Regards, Ajit

    Thursday, February 25, 2016 11:39 AM

Answers

  • "Mailbox1","Mailbox2","Mailbox3" | Get-Mailbox | Set-MailboxSentItemsConfiguration -SendAsItemsCopiedTo Sender



    Ed Crowley MVP "There are seldom good technological solutions to behavioral problems."
    Celebrating 20 years of providing Exchange peer support!


    • Edited by Ed CrowleyMVP Friday, February 26, 2016 2:44 AM
    • Proposed as answer by jim-xu Friday, February 26, 2016 5:50 AM
    • Marked as answer by jim-xu Monday, March 7, 2016 1:30 AM
    Friday, February 26, 2016 2:41 AM
  • That will not work.

    If C:\Mailbox.txt has this format:

    UserName
    Ajit Chandrakant
    Ed Crowley
    

    Then your script could be like this:

    $Mailboxes = Import-CSV -Path .\Mailbox.txt
    ForEach ($Mailbox in $Mailboxes) {
      Get-Mailbox -Identity $Mailbox.UserName | Set-MailboxSetItemsConfiguration -SendAsItemsCopiedTo SenderAndFrom
    }
    


    Ed Crowley MVP "There are seldom good technological solutions to behavioral problems."
    Celebrating 20 years of providing Exchange peer support!

    • Proposed as answer by jim-xu Tuesday, March 1, 2016 1:20 AM
    • Marked as answer by jim-xu Monday, March 7, 2016 1:30 AM
    Monday, February 29, 2016 7:49 PM

All replies

  • "Mailbox1","Mailbox2","Mailbox3" | Get-Mailbox | Set-MailboxSentItemsConfiguration -SendAsItemsCopiedTo Sender



    Ed Crowley MVP "There are seldom good technological solutions to behavioral problems."
    Celebrating 20 years of providing Exchange peer support!


    • Edited by Ed CrowleyMVP Friday, February 26, 2016 2:44 AM
    • Proposed as answer by jim-xu Friday, February 26, 2016 5:50 AM
    • Marked as answer by jim-xu Monday, March 7, 2016 1:30 AM
    Friday, February 26, 2016 2:41 AM
  • Hello,

    Thank you.

    Is the below command an option

    Get-Mailbox c:\mailbox.txt | Set-MailboxSentItemsConfiguration -SendAsItemsCopiedTo Senderandfrom

    where mailbox.txt contains the alias of the shared mailbox


    Regards, Ajit

    Monday, February 29, 2016 9:30 AM
  • That will not work.

    If C:\Mailbox.txt has this format:

    UserName
    Ajit Chandrakant
    Ed Crowley
    

    Then your script could be like this:

    $Mailboxes = Import-CSV -Path .\Mailbox.txt
    ForEach ($Mailbox in $Mailboxes) {
      Get-Mailbox -Identity $Mailbox.UserName | Set-MailboxSetItemsConfiguration -SendAsItemsCopiedTo SenderAndFrom
    }
    


    Ed Crowley MVP "There are seldom good technological solutions to behavioral problems."
    Celebrating 20 years of providing Exchange peer support!

    • Proposed as answer by jim-xu Tuesday, March 1, 2016 1:20 AM
    • Marked as answer by jim-xu Monday, March 7, 2016 1:30 AM
    Monday, February 29, 2016 7:49 PM