CmdID

CmdID / PowerShell / Cmdlets / Disable

Disable-RemoteMailbox

Use the Disable-RemoteMailbox cmdlet to remove user mailboxes from the cloud-based service but keep the associated user objects in the on-premises Active Directory. Exchange PowerShell reference

From the Exchange PowerShell reference 7 parameters Its page in the reference

Opens CmdID with your command, read as PowerShell. It is read in your browser and sent nowhere.

Parameters

7 in the Exchange PowerShell reference
-IdentityThe Identity parameter specifies the cloud-based mailbox.
-ArchiveThe Archive switch specifies whether to disconnect the cloud-based archive mailbox from the associated cloud-based mailbox.
-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.