Commands › Microsoft Teams

Remove-CsTeamsTranslationRule

Microsoft Teams MicrosoftTeams Remove-*

Cmdlet to remove an existing number manipulation rule (or list of rules).

Quick start script

# Remove-CsTeamsTranslationRule — quick start (serv365.ai)
# 1. Connect (app-only shown; interactive: omit the certificate parameters)
Connect-MicrosoftTeams -CertificateThumbprint $thumb -ApplicationId $appId -TenantId $tenantId

# 2. Capture the current state first — you cannot roll back what you never recorded
$before = Get-CsTeamsTranslationRule
$before | Format-List

# 3. Make the change (dry run first)
Remove-CsTeamsTranslationRule -Identity <String> -WhatIf
Remove-CsTeamsTranslationRule -Identity <String>

# 4. Verify and diff
$after = Get-CsTeamsTranslationRule
Compare-Object ($before | Out-String) ($after | Out-String)

Syntax

Remove-CsTeamsTranslationRule [-Identity] <string> [-WhatIf] [-Confirm] [<CommonParameters>]

Parameters (3)

ParameterTypeRequiredWhat it controls
-Confirm SwitchParameter Prompts you for confirmation before running the cmdlet.
-Identity String yes Identifier of the rule. This parameter is required.
-WhatIf SwitchParameter Describes what would happen if you executed the command without actually executing the command. The cmdlet is not run.

Reference facts derived from Microsoft documentation, © Microsoft, licensed CC BY 4.0; restructured with original guidance by serv365.ai.