CmdID / PowerShell / Cmdlets / Remove
Remove-SyncMailPublicFolder
The Remove-SyncMailPublicFolder cmdlet is used by the Sync-MailPublicFolders.ps1 script to remove mail-enabled public folder recipient objects from Exchange Online (the script synchronizes mail-enabled public folder obj… Exchange PowerShell reference
From the Exchange PowerShell reference 4 parameters Its page in the reference
Parameters
-IdentityThe Identity parameter specifies the mail-enabled public folder object that you want to remove from Exchange Online.-Confirm, -cfThe Confirm switch specifies whether to show or hide the confirmation prompt.-DomainControllerThe DomainController parameter specifies the domain controller that's used by this cmdlet to read data from or write data to Active Directory.-WhatIf, -wiThe WhatIf switch shows what the command does without making any changes.