編輯

共用方式為


Get-CsTeamsChannelsPolicy

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

Syntax

Get-CsTeamsChannelsPolicy
   [[-Identity] <XdsIdentity>]
   [-LocalStore]
   [-Tenant <System.Guid>]
   [<CommonParameters>]
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:".

Type:String
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters: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.
Type:XdsIdentity
Position:1
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-LocalStore

Internal Microsoft use only.

Type:SwitchParameter
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-Tenant

Internal Microsoft use only.

Type:System.Guid
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

Inputs

None

Outputs

System.Object