• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 2755
  • Last Modified:

Exchange 2013 deleted items retention policy

Hello,

I am new to Exchange 2013, can someone help me with setting up a retention policy JUST FOR deleted items.  I am kind of afraid to set up anything else at this point, I would like to setup the retention policy to empty the trash after 30 days.   I setup one retention policy, however I am not sure what the tags are and how to make this retention policy apply to just the deleted items.

Thank you in advance.
0
mwebb_sdmc
Asked:
mwebb_sdmc
  • 2
  • 2
1 Solution
 
Jian An LimCommented:
step 1

create a new retention policy  tag
Name: Delete Item Folder Retention tag
Tag type: Delete Items
Age: 30 days
Delete and allow recovery

press new.
pwershell:

step 2
create a new retention policy
Name: Delete Items retention policy
Add: Delete Item Folder Retention tag

step 3.
get-mailbox <whatever mailbox> | set-mailbox -rentionpolicy "Delete Items retention policy"
1
 
michaelalphiCommented:
Good suggestion above.
By using EAC, you can apply the retention policy to empty the trash after 30 days.
Please check this MS-Library to gather more in detail.
1
 
mwebb_sdmcAuthor Commented:
Is there an easy way to set all the mailboxes with this retention policy rather than the one at a time get mailbox?

Thank you very much!
0
 
mwebb_sdmcAuthor Commented:
Got it. Thanks for the info.. I don't know why but the technotes scared me and it ended up being very easy.  Probably because the conversion from Lotus Notes was a bit of a nightmare, I was afraid to touch anything now that things are working well.. Thanks again!
0
 
Jian An LimCommented:
to set it to every mailbox
get-mailbox -resultsize unlimited | set-mailbox -rentionpolicy "Delete Items retention policy"

this will applies to every server :)
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

  • 2
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now