CmdID / PowerShell / Cmdlets / Remove
Remove-RemoteMailbox
Use the Remove-RemoteMailbox cmdlet to remove a mail-enabled user in the on-premises Active Directory and the associated mailbox in the cloud-based service. Exchange PowerShell reference
From the Exchange PowerShell reference 6 parameters Its page in the reference
Parameters
-IdentityThe Identity parameter identifies the mail-enabled user and the associated mailbox in the service that you want to remove.-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.-IgnoreDefaultScopeThe IgnoreDefaultScope switch tells the command to ignore the default recipient scope setting for the Exchange PowerShell session, and to use the entire forest as the scope.-IgnoreLegalHoldThe IgnoreLegalHold switch ignores the legal hold status of the remote user.-WhatIf, -wiThe WhatIf switch shows what the command does without making any changes.