Solved

ManagedContentSettings

Posted on 2014-09-22
7
100 Views
Last Modified: 2014-09-23
Exchange 2010
I have and existing folder policy applied to all mailboxes:
ManagedContentSettings –FolderName “Deleted Items” –MessageClass * –Name “DeletedItemsContentSetting” –RetentionEnabled $True –RetentionAction DeleteandAllowRecovery –AgeLimitForRetention 15

Need to have another one to apply to some of the mailboxes w/ "-AgeLimitForRetention 45"

Attempted to create a new one:
New ManagedContentSettings –FolderName “Deleted Items” –MessageClass * –Name “DeletedItemsContentSetting2” –RetentionEnabled $True –RetentionAction DeleteandAllowRecovery –AgeLimitForRetention 45

Giving me an error MessageClass already exist.
Any suggestions?
0
Comment
Question by:gueraf
  • 4
  • 3
7 Comments
 
LVL 16

Expert Comment

by:Rajitha Chimmani
ID: 40337679
Only one managed content setting can be applied for specific message type within a managed default folder.

To complete it you might have to create another managed folder specific for 45 day retention.

1. Create a new managed default folder (Example - DeletedItems-45DayRetention)
2. Create a new managed content setting for this new folder.

Ref: http://exchangepedia.com/2007/10/managed-folders-how-to-apply-different-managed-content-settings-to-default-folders.html
0
 

Author Comment

by:gueraf
ID: 40337943
How to do this in exchange 2010?
0
 
LVL 16

Accepted Solution

by:
Rajitha Chimmani earned 500 total points
ID: 40337970
You can use New-ManagedFolder command to create a new default folder. Powershell help will give all parameters for this command along with example.

get-help New-ManagedFolder -detailed

And i guess you know the command for New-ManagedContentSetting.

Ref: http://technet.microsoft.com/en-us/library/aa998808(v=exchg.141).aspx
0
PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

 

Author Comment

by:gueraf
ID: 40338021
I'm just going to get rid of the Managed Folder Mailbox Policy.
Will recreate the same setting using Retention Policy instead.
0
 
LVL 16

Expert Comment

by:Rajitha Chimmani
ID: 40338037
Have you tried creating the retention policy? The error that you posted was for managed folders.
0
 

Author Comment

by:gueraf
ID: 40338047
Not yet, i will be testing it.
0
 

Author Closing Comment

by:gueraf
ID: 40339553
Below is the fix. But I've replaced ManagedFolderMailboxPolicies and recreated with Retention Policies instead. Thanks!

[PS] C:\>New-ManagedFolder -Name "DeletedItems-45Day" -DefaultFolderType DeletedItems

Name                      FolderName                Description
----                      ----------                -----------
DeletedItems-45Day        DeletedItems              ManagedDefaultFolder


[PS] C:\>New-ManagedContentSettings -FolderName "DeletedItems-45Day" -MessageClass * -Name "DeletedItemsContentSetting2"
 -RetentionEnabled $True -RetentionAction DeleteandAllowRecovery -AgeLimitForRetention 45

Name                      MessageClass              ManagedFolderName
----                      ------------              -----------------
DeletedItemsContentSet... *                         DeletedItems-45Day


[PS] C:\>New-ManagedFolderMailboxPolicy -Name "DeletedItems-45DayMailboxPolicy" -ManagedFolderLinks "DeletedItems-45Day"


Name                      ManagedFolderLinks                             MailboxPolicyFlags
----                      ------------------                             ------------------
DeletedItems-45DayMail... {DeletedItems-45Day}
0

Featured Post

Are your corporate email signatures appalling?

Is it scary how unprofessional your email signatures look? Do users create their own terrible designs and give themselves stupid job titles? You can make this a lot easier for yourself by choosing an email signature management solution from Exclaimer today.

Join & Write a Comment

Easy CSR creation in Exchange 2007,2010 and 2013
Check out this infographic on what you need to make a good email signature that will work perfectly for your organization.
In this video we show how to create a Shared Mailbox in Exchange 2013. We show this process by using the Exchange Admin Center. Log into Exchange Admin Center.: First we need to log into the Exchange Admin Center. Navigate to the Recipients >> Sha…
In this Micro Video tutorial you will learn the basics about Database Availability Groups and How to configure one using a live Exchange Server Environment. The video tutorial explains the basics of the Exchange server Database Availability grou…

760 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

20 Experts available now in Live!

Get 1:1 Help Now