You probably want something like this:
You can use Start-VBOExchangeItemRestoreSession -RestorePoint $restorePoint -ShowDeleted:$true if you want to see deleted items.
Code:
$restorePoints = Get-VBORestorePointforeach ($restorePoint in $restorePoints) { if ($restorePoint.isExchange -eq $true) { $session = Start-VBOExchangeItemRestoreSession -RestorePoint $restorePoint $database = Get-VEXDatabase -Session $session $mailbox = Get-VEXMailbox -Database $database -name abc@test.tenant.com if ($mailbox) { $item = Get-VEXItem -Mailbox $mailbox -query "from:abcdef@sender.com" } if ($item) { Export-VEXItem -item $item -To "e:\date.competent.pst" } Stop-VBOExchangeItemRestoreSession -session $session } }}Statistics: Posted by track1044 — Sep 22, 2025 1:33 pm






