Home > Office 365, Windows Client > Enable Ediscovery inplace hold and Litigation hold office365 using powershell

Enable Ediscovery inplace hold and Litigation hold office365 using powershell


before enable ediscovery inplace hold and litigation hold you must to connect Microsoft Online using Windows Azure Active Directory Module for windows Powershell,

here step by step to enable ediscovery in place hold and litigation hold

  1. On your local computer, open Windows PowerShell and run the following command.
    $UserCredential = Get-Credential
  2. Run the following command.
    $Session = New-PSSession -ConfigurationName Microsoft.Exchange 
    -ConnectionUri https://outlook.office365.com/powershell-liveid/ -Credential 
    $UserCredential -Authentication Basic -AllowRedirection
    
  3. Run the following command.
    Import-PSSession $Session
  4. Enable Edisocver Inplace hold
    New-MailboxSearch "deby sandra" -sourcemailboxes "deby.sandra@demagnum.com" 
    -estimateonly -InplaceHoldEnabled $true
  5. Start Mailbox-search
     Start-MailboxSearch -Identity "deby sandra"
  6. Please confirm Yes
  7. enable Litigationhold
    Set-Mailbox deby.sandra@demagnum.com -LitigationHoldEnabled $true

    please makesure that ediscovery in hold and litigation hold enable in the portal office365,

  8. Check Inplace hold27-04-2016 10-58-34

Check Litigation Hold Enabled27-04-2016 11-06-47

here for example command to enabled ediscovery hold and litigation hold

27-04-2016 11-09-33

add -force to disable prompt confirmation

Ref: https://technet.microsoft.com/en-us/library/jj984289(v=exchg.160).aspx

Advertisements
Categories: Office 365, Windows Client
  1. No comments yet.
  1. No trackbacks yet.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: