What's the Current PowerShell Command to Recover Purged Items from a Legal Hold?

July 25, 2025 1 answer
Asked by CuriousCat99
I've been getting mixed messages about the right PowerShell commands for 2025, especially concerning the recovery of items held under a legal hold. I'm looking to find out the most up-to-date command to restore emails from the "recoverable items - purges" folder, which isn't visible to end users. I have a legal hold on the mailbox in question and would like to retrieve all emails that were purged due to retention policies. I'm a bit confused about whether this command still works: "Restore-RecoverableItems -Identity '[email protected]' -ResultSize Unlimited" And would this specific one for emails only still be valid? "Restore-RecoverableItems -Identity '[email protected]' -FilterItemType IPM.Note -ResultSize Unlimited" Thanks for the help!

Answers

TechGuru42
As far as I know, you'll want to use eDiscovery to manage any queries related to held messages now that the search-mailbox cmdlet has been deprecated. It's a bit frustrating since that cmdlet was straightforward and effective!

Recoverysavvy11: I tried using eDiscovery but it seems like the only option is to download the PST, which doesn't really help in restoring it directly to the user's mailbox. Iโ€™ve read that there might still be a way in PowerShell to do this, but the Microsoft documentation is pretty all over the place.

Reply to this answer

Add your answer

Answers are reviewed before publication.

Related Discussions