Set-CsTeamsMeetingTemplatePermissionPolicy
This cmdlet updates an existing TeamsMeetingTemplatePermissionPolicy.
Syntax
Default (Default)
[-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
Applicable: Microsoft Teams
Pass in a new description if that field needs to be updated.
Parameter properties
| Type: | String |
| 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 |
-HiddenMeetingTemplates
Applicable: Microsoft Teams
The updated list of meeting template IDs to hide. The HiddenMeetingTemplate objects are created with New-CsTeamsHiddenMeetingTemplate.
Parameter properties
| Type: | HiddenMeetingTemplate[] |
| 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 |
-Identity
Applicable: Microsoft Teams
Name of the policy instance to be updated.
Parameter properties
| Type: | String |
| 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.