Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

Prohibit users purging items in Dumpster before retention period expires

Posted on 2011-02-28
1
Medium Priority
?
562 Views
Last Modified: 2012-05-11
So, my retain deleted items is set for 30 days at the database level.  I would like to prohibit users from deleting anything (via Recover Deleted Items > Select All > Delete) within outlook.  I know to do this for a single user is:

Set-Mailbox -SingleItemRecoveryEnabled $true

I'm hoping someone can join the dots for me and give me the PS command to enable this for all mailboxes within the database(s)
0
Comment
Question by:trecool
[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
1 Comment
 
LVL 16

Accepted Solution

by:
Postmaster earned 2000 total points
ID: 35003241
An example from
http://technet.microsoft.com/en-us/library/bb123981(EXCHG.80).aspx

Get-User -Filter "Department -eq 'Customer Service'" | Set-Mailbox -MaxSendSize 2097152


So you should be able to
Get-mailbox -database SERVER\StorageGroup\Database | Set-mailbox -SingleItemRecoveryEnabled $true


0

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Are you an Exchange administrator employed with an organization? And, have you encountered a corrupt Exchange database due to which you are not able to open its EDB file. This article will explain all the steps to repair corrupt Exchange database.
Want to know how to use Exchange Server Eseutil command? Go through this article as it gives you the know-how.
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…
This video demonstrates how to sync Microsoft Exchange Public Folders with smartphones using CodeTwo Exchange Sync and Exchange ActiveSync. To learn more about CodeTwo Exchange Sync and download the free trial, go to: http://www.codetwo.com/excha…
Suggested Courses

609 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