Muokkaa

Jaa


Set-CsTeamsMeetingTemplatePermissionPolicy

This cmdlet updates an existing TeamsMeetingTemplatePermissionPolicy.

Syntax

Set-CsTeamsMeetingTemplatePermissionPolicy
   [-Identity] <string>
   [-HiddenMeetingTemplates <PSListModifier[HiddenMeetingTemplate]>]
   [-Description <string>]
   [-Force][-WhatIf]
   [-Confirm]
   [<CommonParameters>]

Description

Update any of the properties of an existing instance of the TeamsMeetingTemplatePermissionPolicy.

Examples

Example 1 - Updating the description of an existing policy

PS> Set-CsTeamsMeetingTemplatePermissionPolicy -Identity Foobar -Description "updated description"

Updates the description field of a policy.

Example 2 - Updating the hidden meeting template list of an existing policy

PS> Set-CsTeamsMeetingTemplatePermissionPolicy -Identity Foobar -HiddenMeetingTemplates @($hiddentemplate_1, $hiddentemplate_2)

Updates the hidden meeting templates array.

Parameters

-Description

Pass in a new description if that field needs to be updated.

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

-HiddenMeetingTemplates

The updated list of meeting template IDs to hide. The HiddenMeetingTemplate objects are created with New-CsTeamsHiddenMeetingTemplate.

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

-Identity

Name of the policy instance to be updated.

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