편집

다음을 통해 공유


Get-CsTeamsMeetingTemplatePermissionPolicy

Fetches the TeamsMeetingTemplatePermissionPolicy. This policy can be used to hide meeting templates from users and groups.

Syntax

Get-CsTeamsMeetingTemplatePermissionPolicy
   [[-Identity] <string>]
   [<CommonParameters>]
Get-CsTeamsMeetingTemplatePermissionPolicy
   [-Filter <string>]
   [<CommonParameters>]

Description

Fetches the instances of the policy. Each policy object contains a property called HiddenMeetingTemplates.This array contains the list of meeting template IDs that will be hidden by that instance of the policy.

Examples

Example 1 - Fetching all policies

PS C:\> Get-CsTeamsMeetingTemplatePermissionPolicy

Identity               : Global
HiddenMeetingTemplates : {}
Description            :

Identity               : Tag:Foobar
HiddenMeetingTemplates : {customtemplate_9ab0014a-bba4-4ad6-b816-0b42104b5056}
Description            :

Identity               : Tag:dashbrd test
HiddenMeetingTemplates : {customtemplate_9ab0014a-bba4-4ad6-b816-0b42104b5056}
Description            : test

Identity               : Tag:Default
HiddenMeetingTemplates : {}
Description            :

Fetches all the policy instances currently available.

Example 2 - Fetching a specific policy using its identity

PS C:\> Get-CsTeamsMeetingTemplatePermissionPolicy -Identity Foobar

Identity               : Tag:Foobar
HiddenMeetingTemplates : {customtemplate_9ab0014a-bba4-4ad6-b816-0b42104b5056}
Description            :

Fetches an instance of a policy with known identity.

Example 3 - Fetching policies using regex

PS C:\> Get-CsTeamsMeetingTemplatePermissionPolicy -Filter *Foo*

Identity               : Tag:Foobar
HiddenMeetingTemplates : {customtemplate_9ab0014a-bba4-4ad6-b816-0b42104b5056}
Description            :

The Filter parameter can be used to fetch policy instances based on partial matches on Identity.

Note: The "Tag:" prefix can be ignored when specifying the identity.

Parameters

-Filter

This parameter can be used to fetch policy instances based on partial matches on the Identity field.

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

-Identity

This parameter can be used to fetch a specific instance of the policy.

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