Edit

Share via


Get-CsTeamsChannelsPolicy

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

Syntax

Identity (Default)

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

Filter

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

Description

The CsTeamsChannelsPolicy allows you to manage features related to the Teams & Channels experience within the Teams application. The Get-CsTeamsChannelsPolicy returns policies that are available for use within your organization.

Examples

Example 1

PS C:\> Get-CsTeamsChannelsPolicy

Retrieves all policies related to Teams & Channels that are available in your organization.

Parameters

-Filter

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:".

Parameter properties

Type:String
Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

Filter
Position:Named
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

-Identity

Specify the unique name of a policy you would like to retrieve. Use one of the following values:

  • Global
  • The name of a custom policy you've created. If the value contains spaces, enclose the value in quotation marks ("). Note that the Identity value shows as Tag:<Name>, but the <Name> value also works.
  • Default: This is a template that's used to populate the default property values when you create a new policy or to reset the property values in the global policy in case you delete it. Note that the Identity value shows as Tag:Default, but the Default value also works.

Parameter properties

Type:XdsIdentity
Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

Identity
Position:1
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

-LocalStore

Internal Microsoft use only.

Parameter properties

Type:SwitchParameter
Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

(All)
Position:Named
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

-Tenant

Internal Microsoft use only.

Parameter properties

Type:System.Guid
Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

(All)
Position:Named
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

CommonParameters

This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutBuffer, -OutVariable, -PipelineVariable, -ProgressAction, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.

Inputs

None

Outputs

System.Object