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 example adds a new role entry for the Get-Mailbox cmdlet to the Recipient Administrators role. Only the Identity, Anr, Server and Filter parameters are added to the new role entry.
@@ -64,10 +64,10 @@ This example uses the Get-ManagementRoleEntry cmdlet to retrieve a list of all t
64
64
65
65
### -------------------------- Example 4 --------------------------
This example adds the MailboxAudit script with the Department and Location parameters to the IT Scripts unscoped top-level role.
70
+
In on-premises Exchange, this example adds the MailboxAudit script with the Department and Location parameters to the IT Scripts unscoped top-level role. Note that the UnScopedTopLevel switch requires the UnScoped Role Management role, which isn't assigned to any role groups by default.
The UnScopedTopLevel switch specifies that you're adding a custom script or non-Exchange cmdlet to an unscoped top-level management role. You can only use the UnScopedTopLevel switch when you add a role entry to an unscoped top-level role. If you use the UnScopedTopLevel switch, you can't use the ParentRoleEntry parameter.
222
+
This parameter is available on in on-premises Exchange.
223
+
224
+
By default, this parameter is only available in the UnScoped Role Management role, and that role isn't assigned to any role groups. To use this parameter, you need to add the UnScoped Role Management role to a role group (for example, to the Organization Management role group). For more information, see the "Add a role to a role group" section in Manage role groups (https://technet.microsoft.com/library/jj657480.aspx).
225
+
226
+
The UnScopedTopLevel switch specifies that you're adding a custom script or non-Exchange cmdlet to an unscoped top-level management role. You don't need to specify a value with this switch.
227
+
228
+
You can only use this switch when you add a role entry to an unscoped top-level role. When you use this switch, you can't use the ParentRoleEntry parameter.
223
229
224
230
```yaml
225
231
Type: SwitchParameter
226
232
Parameter Sets: Set1
227
233
Aliases:
228
-
Applicable: Exchange Server 2010, Exchange Server 2013, Exchange Server 2016, Exchange Online, Exchange Online Protection
234
+
Applicable: Exchange Server 2010, Exchange Server 2013, Exchange Server 2016
This parameter is reserved for internal Microsoft use.
258
+
This parameter is available only in the cloud-based service.
259
+
260
+
The Force switch specifies whether to suppress warning or confirmation messages. You can use this switch to run tasks programmatically where prompting for administrative input is inappropriate. You don't need to specify a value with this switch.
253
261
254
262
```yaml
255
263
Type: SwitchParameter
256
264
Parameter Sets: (All)
257
265
Aliases:
258
-
Applicable: Exchange Server 2013, Exchange Server 2016, Exchange Online, Exchange Online Protection
0 commit comments