Solved

Script to enable in Place hold for multiple users in Office 365

Posted on 2014-02-07
3
2,387 Views
Last Modified: 2016-04-14
Hello,
I am looking for a script to enable litigation hold for more than one user in Office 365.

THank you very much
0
Comment
Question by:claudiamcse
3 Comments
 
LVL 40

Accepted Solution

by:
Subsun earned 500 total points
ID: 39843172
You can input the user name in a text file and run the following code to set the litigation hold..
GC c:\input.txt | % {Set-Mailbox $_ -LitigationHoldEnabled $true -LitigationHoldDuration 2555}

Open in new window

0
 

Expert Comment

by:nacAdmin
ID: 39848323
We just did something similar in our O365 tenant, but we used Litigation Hold for all mailboxes. Same idea as what Subsun suggested...

Get-Mailbox | Set-Mailbox -LitigationHoldEnabled $true -LitigationHoldDuration 2555

Open in new window


The command above placed all mailboxes on Lit Hold for 7 years (roughly). This will ensure that we retain immutable copies of all messages for the period of time. We can then use the eDiscovery center in SharePoint Online for searches, or we can use a discovery mailbox and straight Exchange Online Search-Mailbox commands.
0
 

Expert Comment

by:Jay Harrell
ID: 41550672
This works for Litigation hold, but what about InPlaceHold?
0

Featured Post

The problems with reply email signatures

Do you wish that you could place an email signature under a reply? Well, unfortunately, you can't. That great Exchange/Office 365 signature you've created will just appear at the bottom of an email chain. What a pain! Is there really no way to solve this? Well, there might be...

Join & Write a Comment

This process describes the steps required to Import and Export data from and to .pst files using Exchange 2010. We can use these steps to export data from a user to a .pst file, import data back to the same or a different user, or even import data t…
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.
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…
The basic steps you have just learned will be implemented in this video. The basic steps are shown to configure an Exchange DAG in a live working Exchange Server Environment and manage the same (Exchange Server 2010 Software is used in a Windows Ser…

747 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

13 Experts available now in Live!

Get 1:1 Help Now