Skip to content

Commit b60c10e

Browse files
authored
Merge pull request MicrosoftDocs#4125 from tomkau/master
Additional updates for the new batch and group cmdlets that are in preview
2 parents d19fa43 + e579a08 commit b60c10e

7 files changed

+90
-3
lines changed

teams/teams-ps/teams/Get-CsBatchPolicyAssignmentOperation.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,9 @@ ms.reviewer:
1111
# Get-CsBatchPolicyAssignmentOperation
1212

1313
## SYNOPSIS
14-
This cmdlet is used to assign retrieve the status of batch policy assignment operations.
14+
NOTE: This cmdlet is currently only available in limited preview in the pre-release Teams PowerShell module.
1515

16-
Note: Status for batch policy assignment operations are retained for 30 days.
16+
This cmdlet is used to assign retrieve the status of batch policy assignment operations.
1717

1818
## SYNTAX
1919

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

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,8 @@ ms.reviewer:
1111
# Get-CsGroupPolicyAssignment
1212

1313
## SYNOPSIS
14+
NOTE: This cmdlet is currently only available in limited preview in the pre-release Teams PowerShell module.
15+
1416
This cmdlet is used to return group policy assignments.
1517

1618
## SYNTAX
Lines changed: 75 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,75 @@
1+
---
2+
external help file: Microsoft.TeamsCmdlets.PowerShell.Custom.dll-Help.xml
3+
Module Name: MicrosoftTeams
4+
online version:
5+
schema: 2.0.0
6+
author: tomkau
7+
ms.author: tomkau
8+
ms.reviewer:
9+
---
10+
11+
# Get-CsUserPolicyAssignment
12+
13+
## SYNOPSIS
14+
NOTE: This cmdlet is currently only available in limited preview in the pre-release Teams PowerShell module.
15+
16+
This cmdlet is used to return the policy assignments for a user, both directly assigned and inherited from a group.
17+
18+
## SYNTAX
19+
20+
```
21+
Get-CsUserPolicyAssignment [-Identity <String>]
22+
```
23+
24+
## DESCRIPTION
25+
This cmdlets returns the effective policies for a user, based on either direct policy assignment or inheritance from a group policy assignment. For a given policy type, if an effective policy is not returned, this indicates that the effective policy for the user
26+
27+
This cmdlet does not currently support returning policies for multiple users.
28+
29+
## EXAMPLES
30+
31+
### Example 1
32+
This examples returns the policies for a user and indicates whether the policy is directly assigned to the user or was inherited from a group.
33+
34+
```
35+
Get-CsUserPolicyAssignment -Identity 1471bd98-0a32-4426-930d-d790de8a0a70
36+
37+
PolicyType PolicyName PolicySource
38+
------- ---------- ----------
39+
TeamsMeetingPolicy Host:AllOn Group
40+
TeamsMessagingPolicy Tenant:SalesMessaging Direct
41+
42+
## PARAMETERS
43+
44+
### -Identity
45+
The identify of the user whose policy assignments will be returned.
46+
47+
```yaml
48+
Type: String
49+
Parameter Sets:
50+
Aliases:
51+
52+
Required: True
53+
Position: Named
54+
Default value: None
55+
Accept pipeline input: False
56+
Accept wildcard characters: False
57+
```
58+
59+
### CommonParameters
60+
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable.
61+
For more information, see about_CommonParameters (https://go.microsoft.com/fwlink/?LinkID=113216).
62+
63+
## INPUTS
64+
65+
## OUTPUTS
66+
67+
## NOTES
68+
69+
## RELATED LINKS
70+
71+
[New-CsGroupPolicyAssignment]()
72+
73+
[Set-CsGroupPolicyAssignment]()
74+
75+
[Remove-CsGroupPolicyAssignment]()

teams/teams-ps/teams/New-CsBatchPolicyAssignmentOperation.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,9 @@ ms.reviewer:
1111
# New-CsBatchPolicyAssignmentOperation
1212

1313
## SYNOPSIS
14-
This cmdlet is used to assign a policy to a batch of users. A batch may contain up to 20,000 users.
14+
NOTE: This cmdlet is currently only available in limited preview in the pre-release Teams PowerShell module.
15+
16+
This cmdlet is used to assign a policy to a batch of users.
1517

1618
## SYNTAX
1719

@@ -24,6 +26,8 @@ When a policy is assigned to a batch of users, the assignments are performed as
2426

2527
Users can be specified by their object ID (guid) or by their UPN/SIP/email ([email protected]).
2628

29+
A batch may contain up to 20,000 users.
30+
2731
## EXAMPLES
2832

2933
### Example 1

teams/teams-ps/teams/New-CsGroupPolicyAssignment.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,8 @@ ms.reviewer:
1111
# New-CsGroupPolicyAssignment
1212

1313
## SYNOPSIS
14+
NOTE: This cmdlet is currently only available in limited preview in the pre-release Teams PowerShell module.
15+
1416
This cmdlet is used to assign a policy to a group.
1517

1618
## SYNTAX

teams/teams-ps/teams/Remove-CsGroupPolicyAssignment.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,8 @@ ms.reviewer:
1111
# Remove-CsGroupPolicyAssignment
1212

1313
## SYNOPSIS
14+
NOTE: This cmdlet is currently only available in limited preview in the pre-release Teams PowerShell module.
15+
1416
This cmdlet is used to remove a group policy assignment.
1517

1618
## SYNTAX

teams/teams-ps/teams/Set-CsGroupPolicyAssignment.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,8 @@ ms.reviewer:
1111
# Set-CsGroupPolicyAssignment
1212

1313
## SYNOPSIS
14+
NOTE: This cmdlet is currently only available in limited preview in the pre-release Teams PowerShell module.
15+
1416
This cmdlet is update a group policy assignment.
1517

1618
## SYNTAX

0 commit comments

Comments
 (0)