CmdID

CmdID / PowerShell / Cmdlets / Disable

Disable-MailUser

Use the Disable-MailUser cmdlet to remove email capabilities from existing mail users. Exchange PowerShell reference

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

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

Parameters

6 in the Exchange PowerShell reference
-IdentityThe Identity parameter specifies the mail user that you want to mail-disable.
-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 user.
-WhatIf, -wiThe WhatIf switch shows what the command does without making any changes.