Solved

ManagedContentSettings

Posted on 2014-09-22
7
106 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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
Edgartown IT Case Study

Learn about Edgartown's quest to ensure the safety and security of the entire town's employee and citizen data. Read the case study!

 

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

Office 365 Training for IT Pros

Learn how to provision tenants, synchronize on-premise Active Directory, implement Single Sign-On, customize Office deployment, and protect your organization with eDiscovery and DLP policies.  Only from Platform Scholar.

Question has a verified solution.

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

Lotus Notes – formerly IBM Notes – is an email client application, while IBM Domino (earlier Lotus Domino) is an email server. The client possesses a set of features that are even more advanced as compared to that of Outlook. Likewise, IBM Domino is…
This article aims to explain the working of CircularLogArchiver. This tool was designed to solve the buildup of log file in cases where systems do not support circular logging or where circular logging is not enabled
In this video we show how to create a Contact 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 >> Contact ta…
This video shows how to quickly and easily add an email signature for all users on Exchange 2016. The resulting signature is applied on a server level by Exchange Online. The email signature template has been downloaded from: www.mail-signatures…

690 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