locked
Combine multiple managedContentings RRS feed

  • Question

  • Situation: Exchange 2010 SP1

    We would like to remove items older than 550days from the calender and remove items older than 90 days from the deleted items folder.

    I have the following two commands:

    New-ManagedContentSettings -FolderName "Deleted Items" -MessageClass * -Name "DeletedItemsContentSetting" -RetentionEnabled $True -RetentionAction PermanentlyDelete -AgeLimitForRetention 90

    New-ManagedContentSettings -FolderName DefaultCalendar -MessageClass IPM.Appointment -Name DefaultCalendarContentSettings -RetentionEnabled $true -RetentionAction MoveToDeletedItems -AgeLimitForRetention "550"

    But when I add a second ManagedContentSettings to the same mailbox, the first option seems to be disappear.

    How can I manage to get both ManagedContentSettings to the same mailbox ?

     

    Friday, August 19, 2011 11:32 AM

Answers

  • Ah, found it:

     

    New-ManagedFolderMailboxPolicy -Name "name_of_the_policy" -ManagedFolderLinks DefaultCalendar, 'Deleted Items'

    • Marked as answer by Martijn78 Friday, August 19, 2011 11:43 AM
    Friday, August 19, 2011 11:43 AM