Solved

Prohibit users purging items in Dumpster before retention period expires

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

Do You Know the 4 Main Threat Actor Types?

Do you know the main threat actor types? Most attackers fall into one of four categories, each with their own favored tactics, techniques, and procedures.

Join & Write a Comment

Resolve Outlook connectivity issues after moving mailbox to new Exchange 2016 server
Exchange server is not supported in any cloud-hosted platform (other than Azure with Azure Premium Storage).
In this video we show how to create an Address List 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 Organization >> Ad…
To show how to create a transport rule 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 >> Rules tab.:  To cr…

757 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

Need Help in Real-Time?

Connect with top rated Experts

20 Experts available now in Live!

Get 1:1 Help Now