Solved

Prohibit users purging items in Dumpster before retention period expires

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

Does Powershell have you tied up in knots?

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

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Exchange 2013 Hybrid 5 48
Active Sync push Notifications do not push in a timely manner 8 37
Exchange Cross-Forest Migation 6 32
exchange , office 365 3 22
Learn to move / copy / export exchange contacts to iPhone without using any software. Also see the issues in configuration of exchange with iPhone to migrate contacts.
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
To add imagery to an HTML email signature, you have two options available to you. You can either add a logo/image by embedding it directly into the signature or hosting it externally and linking to it. The vast majority of email clients display l…
This video discusses moving either the default database or any database to a new volume.

726 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