Office 365 Exchange Email recovery

Office 365 E-Mails wiederherstellen – Exchange Online Email recovery

Exchange Online Email Recovery

Eine Frage, wie E-Mails aus O365 wiederhergestellt werden, hatte mich die vergangenen Tage erreicht.

Natürlich beantworte ich auch diese Frage. Alle nötigen Informationen, um einen Einblick in die Wiederherstellung zu bekommen, habe ich in das angehängte .pdf verpackt.

Powershell anzeigen

# Logon 365
$cred = Get-Credential
$session = New-PSSession -ConfigurationName Microsoft.Exchange -ConnectionUri https://ps.outlook.com/powershell/ -Credential $cred -Authentication Basic –AllowRedirection
Import-PSSession $session

Set-ExecutionPolicy -ExecutionPolicy ‘Unrestricted’ -Force

# Set Rights to Get and Restore
New-ManagementRoleAssignment -Name “Import_Export_Organization_Management” -SecurityGroup “Organization Management” -Role “Mailbox Import Export”

# Measure Items
Measure-command {Restore-RecoverableItems “mail@joernwalter.de”}

# Get Deleted Items between
Get-RecoverableItems -Identity “mail@joernwalter.de” -SourceFolder RecoverableItems  -FilterItemType Ipm.Note -FilterStartTime “09/07/2018 08:00:00” -FilterEndTime “09/07/2018 11:00:00”

# Get Deleted Items
Get-RecoverableItems -Identity “mail@joernwalter.de” -SourceFolder RecoverableItems -SubjectContains “Turbo.net password reset”

# Get Deleted Items filter
Get-RecoverableItems “mail@joernwalter.de” | Format-list Subject,SourceFolder -Groupby itemclass

# Get Soft Delete
Get-RecoverableItems -Identity “mail@joernwalter.de” -SourceFolder DeletedItems -SubjectContains “TEST”

# Restore E-Mail
Restore-RecoverableItems -Identity “mail@joernwalter.de” -SourceFolder RecoverableItems -SubjectContains “Turbo.net password reset”

# Restore all Deleted Items
Measure-command {Restore-RecoverableItems “mail@joernwalter.de”}

# Get Deleted Appointments
Get-RecoverableItems “mail@joernwalter.de” -FilterItemType IPM.Appointment
Get-RecoverableItems “mail@joernwalter.de” -FilterItemType IPM.Appointment -ResultSize 5
Get-RecoverableItems “mail@joernwalter.de” -LastParentFolderID CE269E34C51B404F91BC68E11FAAE53B00000000010D

#Overview Options:
#E-Mail  IPM.Note
#Contact IPM.Contact
#Calendar IPM.Appointment
#Task item IPM.Task

Office 365 Recover E-Mails

PS AD – Papierkorb Restore AD Object