Monday, May 09, 2011

Using Retention Policies in Exchange 2010 - 보존정책

Exchange 2003에 있던 Mailbox Manager Setting을 통해 사서함을 관리하려 하는 데 Exchange 2010에는 "없구나....^^;"
보존 정책을 통해 구현을 해야 하는 데 한글 서버라 PowerShell 사용하려면 사서함 폴더 영문명을 알아야 한다. ㅋㅋㅋ 
당장 오늘 필요한 내용만 정리한다.



RetentionPolicyTag 생성 - 사서함 폴더별로 생성한다.
  • New-RetentionPolicyTag -Name '30 Day - Deleted Items' -Type 'DeletedItems' -Comment '30 Day - Deleted Items' -AgeLimitForRetention '30.00:00:00' -RetentionAction 'PermanentlyDelete' -RetentionEnabled $true
  • New-RetentionPolicyTag -Name '30 Day - Inbox' -Type 'Inbox' -Comment '30 Day - Inbox' -AgeLimitForRetention '30.00:00:00' -RetentionAction 'PermanentlyDelete' -RetentionEnabled $true
  • New-RetentionPolicyTag -Name '30 Day - Junk E-mail' -Type 'JunkEmail' -Comment '30 Day - Junk E-mail' -AgeLimitForRetention '30.00:00:00' -RetentionAction 'PermanentlyDelete' -RetentionEnabled $true
RetentionPolicy 생성
  • New-RetentionPolicy “30 Day Policy” –RetentionPolicyTagLinks “30 Day - Deleted Items”,”30 Day - Inbox”,"30 Day - Junk E-mail"
대상 사서함 RetentionPolicy 적용
  • Set-Mailbox –Identity XXX@company.com –RetentionPolicy “30 Day Policy” -DomainController "XXX.company.com"
기다림 없이 바로 적용
  • Start-ManagedFolderAssistant -Identity XXX@company.com -DomainController "XXX.company.com"
# 추가 사항
New-RetentionPolicyTag ( http://technet.microsoft.com/en-us/library/dd335226.aspx )


The Type parameter specifies the type of retention tag being created. Valid values include:
Contacts
DeletedItems
Drafts
Inbox
JunkEmail
Journal
Notes
Outbox
SentItems
All
RecoverableItems
RssSubscriptions
SyncIssues
ConversationHistory
Personal
Note:
To create a default policy tag (DPT), specify type All. Retention tags for the Calendar and Tasks folders are not supported. For tags of type RecoverableItems, the only valid retention action is MoveToArchive.

No comments: