what is the PowerShell to Purge all items in "deleted items" folder - per user and for all mailboxes

%3CLINGO-SUB%20id%3D%22lingo-sub-557477%22%20slang%3D%22en-US%22%3Ewhat%20is%20the%20PowerShell%20to%20Purge%20all%20items%20in%20%22deleted%20items%22%20folder%20-%20per%20user%20and%20for%20all%20mailboxes%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-557477%22%20slang%3D%22en-US%22%3E%3CP%3Ewhat%20is%20the%20PowerShell%20to%20Purge%20all%20items%20in%20%22deleted%20items%22%20folder%20-%20per%20user%20and%20for%20all%20mailboxes%3F%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3Ethanks%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20style%3D%22width%3A%20215px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Fgxcuf89792.i.lithium.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F112909iA372A55A57BF0C28%2Fimage-size%2Flarge%3Fv%3D1.0%26amp%3Bpx%3D999%22%20alt%3D%22Capture.PNG%22%20title%3D%22Capture.PNG%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-557477%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3EExchange%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-559217%22%20slang%3D%22en-US%22%3ERe%3A%20what%20is%20the%20PowerShell%20to%20Purge%20all%20items%20in%20%22deleted%20items%22%20folder%20-%20per%20user%20and%20for%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-559217%22%20slang%3D%22en-US%22%3E%3CP%3EThere's%20no%20such%20PowerShell%20cmdlet.%20In%20O365%2C%20it's%20up%20to%20the%20user%20to%20empty%20its%20Deleted%20items%20folder.%20If%20you%20want%20to%20manage%20this%20centrally%2C%20deploy%20a%20retention%20policy%20tag.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EAnother%20option%20is%20to%20periodically%20run%20some%20EWS-based%20script.%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E
Highlighted
Super Contributor

what is the PowerShell to Purge all items in "deleted items" folder - per user and for all mailboxes?

 

thanks

 

Capture.PNG

1 Reply
Highlighted

There's no such PowerShell cmdlet. In O365, it's up to the user to empty its Deleted items folder. If you want to manage this centrally, deploy a retention policy tag.

 

Another option is to periodically run some EWS-based script.