Commands › Microsoft Teams

Get-CsTeamsChannelsPolicy

Microsoft Teams MicrosoftTeams Get-*

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

Quick start script

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

# 2. Run and inspect
Get-CsTeamsChannelsPolicy | Format-List

# 3. Export for evidence / drift tracking
Get-CsTeamsChannelsPolicy | Export-Clixml .\CsTeamsChannelsPolicy-$(Get-Date -Format yyyyMMdd).xml

Syntax — 2 parameter sets

Identity (Default)

Get-CsTeamsChannelsPolicy [[-Identity] <XdsIdentity>] [-LocalStore] [-Tenant <System.Guid>] [<CommonParameters>]

Filter

Get-CsTeamsChannelsPolicy [-Filter <String>] [-LocalStore] [-Tenant <System.Guid>] [<CommonParameters>]

Parameters (4)

ParameterTypeRequiredWhat it controls
-Filter String Enables you to use wildcard characters when indicating the policy (or policies) to be returned. For example, to return a collection of all the per-user policies, use this syntax: -Filter "tag:".
-Identity XdsIdentity Specify the unique name of a policy you would like to retrieve. Use one of the following values:
-LocalStore SwitchParameter Internal Microsoft use only.
-Tenant Guid Internal Microsoft use only.

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