New-VBOBackupItem
Short Description
Creates organization objects.
Syntax
This cmdlet provides the following parameter sets:
-
UserParameterSetNew-VBOBackupItem -User <VBOOrganizationUser[]> [-Mailbox] [-ArchiveMailbox] [-OneDrive] [-Sites] [<CommonParameters>]
-
OrganizationParameterSetNew-VBOBackupItem -Organization <VBOOrganization[]> [-Mailbox] [-ArchiveMailbox] [-OneDrive] [-Sites] [-Teams]
[-TeamsChats] [<CommonParameters>]
-
SiteParameterSetNew-VBOBackupItem -Site <VBOOrganizationSite[]> [<CommonParameters>]
-
GroupParameterSetNew-VBOBackupItem -Group <VBOOrganizationGroup[]> [-Mailbox] [-ArchiveMailbox] [-OneDrive] [-Sites]
[-GroupMailbox] [-GroupSite] [<CommonParameters>]
-
TeamParameterSetNew-VBOBackupItem -Team <VBOOrganizationTeam[]> [-TeamsChats] [<CommonParameters>]
-
PersonalSitesParameterSetNew-VBOBackupItem [-PersonalSites] [<CommonParameters>]
Detailed Description
Creates organization objects. You can add or exclude these objects from a backup job.
For more information on object types, see the Organization Object Types section of the Veeam Backup for Microsoft 365 User Guide.
Run the Add-VBOBackupItemAdds a list of objects to a backup job. cmdlet to create a list of objects included in a backup job. The job will back up these objects.
Run the Add-VBOExcludedBackupItemCreates a list of objects excluded from a backup job. cmdlet to create a list of objects excluded from a backup job. The job will exclude these objects from backup.
Parameters
|
Parameter |
Description |
Type |
Required |
Position |
Accept Pipeline Input |
|---|---|---|---|---|---|
|
ArchiveMailbox |
Defines that the cmdlet will create an organization object that will have the archived mailbox option enabled. Default: False
Note: You cannot specify this parameter for the |
|
False |
Named |
False |
|
Group |
Specifies an array of groups added to Veeam Backup for Microsoft 365. The cmdlet will create an organization object that contains a group.
Accepts the
To get this object, run the |
True |
Named |
False |
|
|
GroupMailbox |
Defines that the cmdlet will create an organization object that will have the group mailbox enabled. Default: False |
|
False |
Named |
False |
|
GroupSite |
Defines that the cmdlet will create an organization object that will have the group site option enabled. Default: False |
|
False |
Named |
False |
|
Mailbox |
Defines that the cmdlet will create an organization object that will have the mailbox option enabled. Default: False |
|
False |
Named |
False |
|
OneDrive |
Defines that the cmdlet will create an organization object that will have the OneDrive option enabled. Default: False
Note: You cannot specify this parameter for the |
|
False |
Named |
False |
|
Organization |
Specifies an array of organizations added to Veeam Backup for Microsoft 365. The cmdlet will create an organization object that contains an organization.
Accepts the
To get this object, run the |
True |
Named |
False |
|
|
PersonalSites |
Defines that the cmdlet will create an organization object with the personal sites option enabled. Default: False |
|
True |
Named |
False |
|
Site |
Specifies an array of sites added to Veeam Backup for Microsoft 365. The cmdlet will create an organization object that contains a site.
Accepts the
To get this object, run the |
True |
Named |
False |
|
|
Sites |
Defines that the cmdlet will create an organization object that will have the sites option enabled. Default: False |
|
False |
Named |
False |
|
Team |
Specifies an array of teams added to Veeam Backup for Microsoft 365. The cmdlet will create an organization object that contains a team.
Accepts the
To get this object, run the |
True |
Named |
False |
|
|
Teams |
Defines that the cmdlet will create an organization object that will have the teams option enabled. Default: False |
|
False |
Named |
False |
|
TeamsChats |
Defines that the cmdlet will create an organization object that will have the team posts (formerly team chats) option enabled. Default: False |
|
False |
Named |
False |
|
User |
Specifies an array of users added to Veeam Backup for Microsoft 365. The cmdlet will create an organization object that contains a user.
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.
Examples
Example 1: Creating User Object
|
This example shows how to create an organization object that contains a user. An object will be created with the following settings:
Perform the following steps:
|
Example 2: Creating Object with Mailbox, Archive Mailbox, Teams, Team Posts and Sites
|
This example shows how to create a backup item with an organization ABC mailbox, archive mailbox and all of the sites, teams and team posts (formerly team chats) but without the OneDrive processing option.
Perform the following steps:
|
Example 3: Creating Site Object
|
This example shows how to create a backup item with an ABC organization site with a given URL.
Perform the following steps:
|
Example 4: Creating Group Object
|
This example shows how to create a backup item with all processing options for the UsersAlpha organization user group.
Perform the following steps:
|
Example 5: Creating Object to Process Personal Sites
|
This command creates a backup item with the PersonalSites processing option.
|
Example 6: Creating Object to Process Team with Team Posts
|
This example shows how to create a backup item with the TeamsChats processing option for a team with the display name IT.
Perform the following steps:
|
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.