Skip to content

Commit 6a916ff

Browse files
Update Get-CsGroupPolicyAssignment.md
Removing previous author and adding powershell syntax
1 parent 92ce820 commit 6a916ff

File tree

1 file changed

+4
-7
lines changed

1 file changed

+4
-7
lines changed

teams/teams-ps/teams/Get-CsGroupPolicyAssignment.md

Lines changed: 4 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,6 @@ external help file: Microsoft.TeamsCmdlets.PowerShell.Custom.dll-Help.xml
33
Module Name: MicrosoftTeams
44
online version: https://learn.microsoft.com/powershell/module/teams/get-csgrouppolicyassignment
55
schema: 2.0.0
6-
author: tomkau
7-
ms.author: tomkau
8-
ms.reviewer: williamlooney
96
---
107

118
# Get-CsGroupPolicyAssignment
@@ -16,7 +13,7 @@ This cmdlet is used to return group policy assignments.
1613

1714
## SYNTAX
1815

19-
```
16+
```powershell
2017
Get-CsGroupPolicyAssignment [-GroupId <String>] [-PolicyType <String>]
2118
```
2219

@@ -28,7 +25,7 @@ This cmdlets returns group policy assignments. Optional parameters allow the re
2825
### Example 1
2926
In this example, all group policy assignments are returned.
3027

31-
```
28+
```powershell
3229
Get-CsGroupPolicyAssignment
3330
3431
GroupId PolicyType PolicyName Rank CreatedTime CreatedBy
@@ -45,7 +42,7 @@ e2a3ed24-97be-494d-8d3c-dbc04cbb878a TeamsCallingPolicy AllowCalling
4542
### Example 2
4643
In this example, only the policies assigned to a specific group are returned.
4744

48-
```
45+
```powershell
4946
Get-CsGroupPolicyAssignment -GroupId e050ce51-54bc-45b7-b3e6-c00343d31274
5047
5148
GroupId PolicyType PolicyName Rank CreatedTime CreatedBy
@@ -60,7 +57,7 @@ In this example, only the policies of a specific type are returned.
6057

6158
Get-CsGroupPolicyAssignment -PolicyType TeamsCallingPolicy
6259

63-
```
60+
```powershell
6461
GroupId PolicyType PolicyName Rank CreatedTime CreatedBy
6562
------- ---------- ---------- ---- ----------- ---------
6663
e2a3ed24-97be-494d-8d3c-dbc04cbb878a TeamsCallingPolicy AllowCalling 1 11/4/2019 12:54:27 AM aeb7c0e7-2f6d-43ef-bf33-bfbcb93fdc64

0 commit comments

Comments
 (0)