A consumer has unintentionally deleted objects in Outlook. This may be e-mails and even conferences. The unhealthy information is that the consumer can not entry these objects. The excellent news: We are able to restore these objects with PowerShell. That is precisely what I’ll present on this put up.
Conditions
To start with, you should verify you probably have assigned the Import-Export function. This isn’t the case even with the worldwide administrator. It’s important to verify this.
Within the Admin Heart, navigate to Roles – Change – Mailbox Import Export. Now assign the function to your consumer.
Subsequent, we set up – if essential – the Change On-line module.
Set up-Module ExchangeOnlineManagement -Power -AllowClobber
Login now.
I might positively suggest checking the function project with this command!
Get-ManagementRole -Cmdlet Restore-RecoverableItems
It’s best to get an output. If not, then again to the beginning, the function project should be completed with out fail.
Recovering Deleted Outlook Objects
On this part you will discover examples of easy methods to restore objects. You’ll be able to construct on these examples.
Specify Begin- and EndTime
Get-RecoverableItems -Identification f.bizeps@sid-500.com `
-FilterStartTime "1/2/2023 12:00:00 AM" `
-FilterEndTime "28/2/2023 11:59:59 PM" |
Restore-RecoverableItems -Verbose
Retrieve and Restore Calendar Gadgets solely
Get-RecoverableItems -Identification f.bizeps@sid-500.com |
The place-Object LastParentPath -eq 'Kalender' |
Restore-RecoverableItems -Verbose
A mixture of the examples proven above
Get-RecoverableItems -Identification f.bizeps@sid-500.com `
-FilterStartTime "1/2/2023 12:00:00 AM" `
-FilterEndTime "28/2/2023 11:59:59 PM" |
The place-Object LastParentPath -eq 'Kalender' | Restore-RecoverableItems -Verbose
I hope you discovered what you have been in search of. See you subsequent time!
Printed by