Skip to content

Latest commit

 

History

History
25 lines (20 loc) · 680 Bytes

File metadata and controls

25 lines (20 loc) · 680 Bytes
description Automatically generated file. DO NOT MODIFY
Import-Module Microsoft.Graph.BackupRestore

$params = @{
	artifactQuery = @{
		queryExpression = "(Sender -eq 'abc@contoso.com') -and (Subject -like '*Check email*' -or Subject -like ' Important') -and (HasAttachment -eq 'true') -and (PitrDumpsterActionTriggeredTime -gt '{2024-09-21T08:20:00.0000000Z}')"
		artifactType = "message"
	}
	protectionUnitIds = @(
	"23014d8c-71fe-4d00-a01a-31850bc5b42a"
)
protectionTimePeriod = @{
	startDateTime = [System.DateTime]::Parse("2021-01-01T00:00:00Z")
}
restorePointPreference = "oldest"
}

Search-MgSolutionBackupRestorePoint -BodyParameter $params