Solved

ManagedContentSettings

Posted on 2014-09-22
7
101 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
Optimizing Cloud Backup for Low Bandwidth

With cloud storage prices going down a growing number of SMBs start to use it for backup storage. Unfortunately, business data volume rarely fits the average Internet speed. This article provides an overview of main Internet speed challenges and reveals backup best practices.

 

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

Problems using Powershell and Active Directory?

Managing Active Directory does not always have to be complicated.  If you are spending more time trying instead of doing, then it's time to look at something else. For nearly 20 years, AD admins around the world have used one tool for day-to-day AD management: Hyena. Discover why

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Learn to move / copy / export exchange contacts to iPhone without using any software. Also see the issues in configuration of exchange with iPhone to migrate contacts.
Read this checklist to learn more about the 15 things you should never include in an email signature.
In this video we show how to create an Accepted Domain 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 Mail Flow >> Ac…
To show how to create a transport rule 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 Mail Flow >> Rules tab.:  To cr…

932 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

12 Experts available now in Live!

Get 1:1 Help Now