Skip to content

Commit a470c68

Browse files
Update New-CsTeamsTemplatePermissionPolicy.md
Update New-CsTeamsTemplatePermissionPolicy.md for resolving comments.
1 parent f008d03 commit a470c68

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

teams/teams-ps/teams/New-CsTeamsTemplatePermissionPolicy.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ external help file: Microsoft.Teams.Policy.Administration.Cmdlets.Core.dll-Help.
33
Module Name: Microsoft.Teams.Policy.Administration.Cmdlets.Core
44
online version: https://learn.microsoft.com/powershell/module/teams/new-csteamstemplatepermissionpolicy
55
title: New-CsTeamsTemplatePermissionPolicy
6-
author: yishuaihuang
6+
author: yishuaihuang4
77
ms.author: yishuaihuang
88
ms.reviewer:
99
manager: weiliu2
@@ -34,10 +34,10 @@ Assuming there are two valid templates with IDs `com.microsoft.teams.template.Ma
3434

3535
The next step would be to create the policy instance.
3636
```powershell
37-
PS C:\>$manageEventTemplate = New-CsTeamsHiddenTemplate -Id com.microsoft.teams.template.ManageAnEvent
38-
PS C:\>$manageProjectTemplate = New-CsTeamsHiddenTemplate -Id com.microsoft.teams.template.ManageAProject
39-
PS C:\>$HiddenList = @($manageProjectTemplate, $manageEventTemplate)
40-
PS C:\>New-CsTeamsTemplatePermissionPolicy -Identity Foobar -HiddenTemplates $HiddenList
37+
PS >$manageEventTemplate = New-CsTeamsHiddenTemplate -Id com.microsoft.teams.template.ManageAnEvent
38+
PS >$manageProjectTemplate = New-CsTeamsHiddenTemplate -Id com.microsoft.teams.template.ManageAProject
39+
PS >$HiddenList = @($manageProjectTemplate, $manageEventTemplate)
40+
PS >New-CsTeamsTemplatePermissionPolicy -Identity Foobar -HiddenTemplates $HiddenList
4141
```
4242

4343
```output
@@ -143,7 +143,7 @@ Accept wildcard characters: False
143143
```
144144
145145
### CommonParameters
146-
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216).
146+
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](https://go.microsoft.com/fwlink/?LinkID=113216).
147147
148148
## INPUTS
149149
@@ -160,4 +160,4 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable
160160
161161
[Remove-CsTeamsTemplatePermissionPolicy](Remove-CsTeamsTemplatePermissionPolicy.md)
162162
163-
[Set-CsTeamsTemplatePermissionPolicy](Set-CsTeamsTemplatePermissionPolicy.md)
163+
[Set-CsTeamsTemplatePermissionPolicy](Set-CsTeamsTemplatePermissionPolicy.md)

0 commit comments

Comments
 (0)