Expunge Parameter (Set-IMAP Cmdlet)
Whether to expunge the mailbox after setting message flags.
Syntax
Set-IMAP -Expunge SwitchParameter
Remarks
Permanently remove all messages that have the 'Deleted' flag set from the current Folder.
Default Value
false