You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This cmdlets returns group policy assignments. Optional parameters allow the results to be restricted to policies assigned to a specific group or policies of a specific type.
24
24
25
25
## EXAMPLES
26
26
27
27
### Example 1
28
-
In this example, the status of all batch assignment operations is returned.
28
+
In this example, all group policy assignments are returned.
29
29
30
30
```
31
-
Get-CsBatchPolicyAssignmentOperation | ft OperationId, CreatedTime, CompletedTime, CompletedCount, ErrorCount
In this example, the status of a single batch is returned, including the assignment status for each user. In this example, one of the users was not found.
42
+
In this example, only the policies assigned to a specific group are returned.
The ID of a group whose policy assignments will be returned.
70
+
71
+
```yaml
72
+
Type: String
73
+
Parameter Sets:
74
+
Aliases:
75
+
76
+
Required: False
77
+
Position: Named
78
+
Default value: None
79
+
Accept pipeline input: False
80
+
Accept wildcard characters: False
81
+
```
82
+
83
+
### -PolicyType
84
+
The policy type for which group policy assignments will be returned.
67
85
68
86
```yaml
69
87
Type: String
@@ -76,6 +94,7 @@ Default value: None
76
94
Accept pipeline input: False
77
95
Accept wildcard characters: False
78
96
```
97
+
79
98
### CommonParameters
80
99
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable.
81
100
For more information, see about_CommonParameters (https://go.microsoft.com/fwlink/?LinkID=113216).
@@ -84,47 +103,10 @@ For more information, see about_CommonParameters (https://go.microsoft.com/fwlin
84
103
85
104
## OUTPUTS
86
105
87
-
### OperationId
88
-
The ID of the operation that can be used with the Get-CsBatchPolicyAssignmentOperation cmdlet to get the status of the operation.
89
-
90
-
### CompletedCount
91
-
The number of users in the batch for which the assignment has been completed (possibly with an error).
92
-
93
-
### CompletedTime
94
-
The date and time when the operation was completed.
95
-
96
-
### CreatedTime
97
-
The date and time when the operation was created.
98
-
99
-
### ErrorCount
100
-
The number of users in the batch for which the assignment failed.
101
-
102
-
### InProgressCount
103
-
The number of users in the batch for which the assignment is in progress.
104
-
105
-
### NotStartedCount
106
-
The number of users in the batch for which the assignment has not yet been performed.
107
-
108
-
### OperationId
109
-
The ID of the operation.
110
-
111
-
### OperationName
112
-
The name of the operation, if one was specific when the operation was created.
113
-
114
-
### OverallStatus
115
-
The overall status of the operations: NotStarted, InProgress, Complete
116
-
117
-
### UserState
118
-
Contains the status for each user in the batch.
119
-
120
-
**Id:** The ID of the user as specified when the batch was submitted. Either the user object ID (guid) or UPN/SIP/email.
121
-
122
-
**result:** The result of the assignment operation for the user: Success or an error.
123
-
124
-
**state:** The status for the user: NotStarted, InProgress, Completed
0 commit comments