New-VBORbacRoleItem
Short Description
Defines Microsoft 365 organization users, groups, sites or teams that will be managed by restore operators or excluded.
Syntax
This cmdlet provides the following parameter sets:
-
UserParameterSetNew-VBORbacRoleItem -User <VBOOrganizationUser[]> [<CommonParameters>]
-
SiteParameterSetNew-VBORbacRoleItem -Site <VBOOrganizationSite[]> [<CommonParameters>]
-
GroupParameterSetNew-VBORbacRoleItem -Group <VBOOrganizationGroup[]> [<CommonParameters>]
-
TeamParameterSetNew-VBORbacRoleItem -Team <VBOOrganizationTeam[]> [<CommonParameters>]
-
PersonalSitesParameterSetNew-VBORbacRoleItem [-PersonalSites] [<CommonParameters>]
Detailed Description
This cmdlet creates the VBORbacRoleItem object. This object contains specific users, groups, sites, or teams. Restore operators will be allowed/not allowed to explore and restore data from backups created by Veeam Backup for Microsoft 365 for this object.
Parameters
|
Parameter |
Description |
Type |
Required |
Position |
Accept Pipeline Input |
|---|---|---|---|---|---|
|
Group |
Specifies an array of groups added to Veeam Backup for Microsoft 365. The cmdlet will define these groups as objects to manage/exclude.
Accepts the
To get this object, run the |
True |
Named |
False |
|
|
PersonalSites |
Defines that the cmdlet will define personal sites as objects to manage/exclude. Default: False |
|
True |
Named |
False |
|
Site |
Specifies an array of SharePoint sites added to Veeam Backup for Microsoft 365. The cmdlet will define these sites as objects to manage/exclude.
Accepts the
To get this object, run the |
True |
Named |
False |
|
|
Team |
Specifies an array of teams added to Veeam Backup for Microsoft 365. The cmdlet will define these teams as objects to manage/exclude.
Accepts the
To get this object, run the |
True |
Named |
False |
|
|
User |
Specifies an array of users added to Veeam Backup for Microsoft 365. The cmdlet will define these users as objects to manage/exclude.
Accepts the
To get this object, run the |
True |
Named |
False |
<CommonParameters>
This cmdlet supports Microsoft PowerShell common parameters. For more information on common parameters, see the About Common Parameters section of Microsoft Learn.
Output Object
This cmdlet returns the VBORbacRoleItem object that contains details on users, groups, or sites that will be managed by restore operators or excluded.
Examples
Defining User as Object to Manage/Exclude
This example shows how to define the JohnDoe organization user as an object to manage/exclude.
|
$org = Get-VBOOrganization -Name "ABC" $User = Get-VBOOrganizationUser -Organization $org -DisplayName "JohnDoe" New-VBORbacRoleItem -User $User |
Perform the following steps:
- Run the
Get-VBOOrganizationReturns Microsoft organizations added to the Veeam Backup for Microsoft 365 infrastructure. cmdlet with theNameparameter to get the organization with the name ABC. Save the result to the$orgvariable. - Run the
Get-VBOOrganizationUserReturns organization users. cmdlet with the$orgvariable and theJohnDoevalue for theDisplayNameparameter. Save the result to the$Uservariable. - Run the
New-VBORbacRoleItemcmdlet. Set the$Uservariable as theUserparameter value.
Related Commands
Get-VBOOrganizationReturns Microsoft organizations added to the Veeam Backup for Microsoft 365 infrastructure.Get-VBOOrganizationUserReturns organization users.Get-VBOOrganizationGroupReturns organization groups.Get-VBOOrganizationSiteReturns organization sites.Get-VBOOrganizationTeamReturns organization teams.