Add-VBORbacRole
Short Description
Adds restore operator roles to Veeam Backup for Microsoft 365.
Syntax
This cmdlet provides parameter sets that allow you to:
- Create a restore operator role to manage selected objects.
Add-VBORbacRole -Organization <VBOOrganization> -Name <string> -Operators <VBORbacOperator[]> -SelectedItems <VBORbacRoleItem[]> [-Description <string>] [-ExcludedItems <VBORbacRoleItem[]>] [<CommonParameters>] |
- Create a restore operator role to manage entire organization.
Add-VBORbacRole -Organization <VBOOrganization> -Name <string> -Operators <VBORbacOperator[]> -EntireOrganization [-Description <string>] [-ExcludedItems <VBORbacRoleItem[]>] [<CommonParameters>] |
Detailed Description
This cmdlet adds a restore operator role to Veeam Backup for Microsoft 365. When you add a restore operator role, you assign permissions to restore operators to explore and restore data from backups created by Veeam Backup for Microsoft 365 for specific organization object types (users, groups, sites, or the entire Microsoft 365 organization).
Parameters
Parameter | Description | Type | Required | Position | Accept Pipeline Input | Accept Wildcard Characters |
---|---|---|---|---|---|---|
Organization | Specifies a Microsoft organization. The cmdlet will add a restore operator role to the specified Microsoft organization. Note: The organization must be a Microsoft 365 organization with modern app-only authentication or hybrid organization. | Accepts the VBOOrganization object. To get this object, run the Get-VBOOrganization cmdlet. | True | Named | True (ByValue) | False |
Name | Specifies a restore operator role name. The cmdlet will add a restore operator role with this name. | String | True | Named | False | False |
Operators | Specifies an array of restore operators. The cmdlet will assign permissions to these objects. | Accepts the VBORbacOperator[] object. To create this object, run the New-VBORbacOperator cmdlet. | True | Named | False | False |
SelectedItems | Specifies an array of objects to manage. The cmdlet will add a restore operator role in which the specified restore operators are allowed to explore and restore backed-up data of these objects. | Accepts the VBORbacRoleItem[] object. To create this object, run the New-VBORbacRoleItem cmdlet. | True | Named | False | False |
EntireOrganization | Defines that the specified restore operators will be able to explore and restore all objects (except teams) within the specified Microsoft 365 organization. | SwitchParameter | True | Named | False | False |
ExcludedItems | Specifies an array of objects to exclude. The cmdlet will add a restore operator role in which the specified restore operators are not allowed to explore and restore backed-up data of these objects. Note: You cannot exclude objects that have been specified for the SelectedItems parameter. | Accepts the VBORbacRoleItem[] object. To create this object, run the New-VBORbacRoleItem cmdlet. | False | Named | False | False |
Description | Specifies a description of a restore operator role. | String | False | Named | False | False |
<CommonParameters>
This cmdlet supports Microsoft PowerShell common parameters. For more information on common parameters, see the About CommonParameters section of Microsoft Docs.
Output Object
The cmdlet returns the VBORbacRole object that contains the restore operator role settings.
Examples
Example 1. Adding Restore Operator Role to Microsoft Organization
This example shows how add a restore operator role:
Perform the following steps:
|
Related Commands