Solved

Prohibit users purging items in Dumpster before retention period expires

Posted on 2011-02-28
1
553 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 500 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

[Webinar] How Hackers Steal Your Credentials

Do You Know How Hackers Steal Your Credentials? Join us and Skyport Systems to learn how hackers steal your credentials and why Active Directory must be secure to stop them. Thursday, July 13, 2017 10:00 A.M. PDT

Question has a verified solution.

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

A list of top three free exchange EDB viewers that helps the user to extract a mailbox from an unmounted .edb file and get a clear preview of all emails & other items with just a single click on mailboxes.
If you troubleshoot Outlook for clients, you may want to know a bit more about the OST file before doing your next job. IMAP can cause a lot of drama if removed in the accounts without backing up.
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…
A short tutorial showing how to set up an email signature in Outlook on the Web (previously known as OWA). For free email signatures designs, visit https://www.mail-signatures.com/articles/signature-templates/?sts=6651 If you want to manage em…

707 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