Bewerken

Delen via


Remove-CsTeamsChannelsPolicy

The CsTeamsChannelsPolicy allows you to manage features related to the Teams & Channels experience within the Teams application.

Syntax

Remove-CsTeamsChannelsPolicy
      [-Identity] <XdsIdentity>
      [-Confirm]
      [-Force]
      [-Tenant <Guid>]
      [-WhatIf]
      [<CommonParameters>]

Description

The CsTeamsChannelsPolicy allows you to manage features related to the Teams & Channels experience within the Teams application. The Remove-CsTeamsChannelsPolicy cmdlet lets you delete a custom policy that has been configured in your organization.

If you run Remove-CsTeamsChannelsPolicy on the Global policy, it will be reset to the defaults provided for new organizations.

Examples

Example 1

PS C:\> Remove-CsTeamsChannelsPolicy -Identity SalesPolicy

Deletes a custom policy that has already been created in the organization.

Parameters

-Confirm

Prompts you for confirmation before executing the command.

Type:SwitchParameter
Aliases:cf
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False
Applies to:Microsoft Teams

-Force

Suppresses all non-fatal errors.

Type:SwitchParameter
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False
Applies to:Microsoft Teams

-Identity

The name of the policy to be removed. Wildcards are not supported.

To remove a custom policy, use syntax similar to this: -Identity "Student Policy".

To "remove" the global policy, use the following syntax: -Identity Global. You can't actually remove the global policy. Instead, all properties will be reset to their default values as shown in the default policy (Tag:Default).

Type:XdsIdentity
Position:2
Default value:None
Required:True
Accept pipeline input:True
Accept wildcard characters:False
Applies to:Microsoft Teams

-Tenant

Internal Microsoft use only.

Type:Guid
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False
Applies to:Microsoft Teams

-WhatIf

Describes what would happen if you executed the command without actually executing the command.

Type:SwitchParameter
Aliases:wi
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False
Applies to:Microsoft Teams

Inputs

Microsoft.Rtc.Management.Xds.XdsIdentity

Outputs

System.Object