New-VBOBackupItem
Short Description
Creates organization objects.
Syntax
This cmdlet provides parameter sets that allow you to:
- Create objects that represent users.
|
New-VBOBackupItem -User <VBOOrganizationUser[]> [-Mailbox] [-ArchiveMailbox] [-OneDrive] [-Sites] [<CommonParameters>] |
- Create objects that represent organizations.
|
New-VBOBackupItem -Organization <VBOOrganization[]> [-Mailbox] [-ArchiveMailbox] [-OneDrive] [-Sites] [-Teams] [-TeamsChats] [<CommonParameters>] |
- Create objects that represents sites.
|
New-VBOBackupItem -Site <VBOOrganizationSite[]> [<CommonParameters>] |
- Create objects that represent groups.
|
New-VBOBackupItem -Group <VBOOrganizationGroup[]> [-Mailbox] [-ArchiveMailbox] [-OneDrive] [-Sites] [-GroupMailbox] [-GroupSite] [<CommonParameters>] |
- Create objects that represent personal sites.
|
New-VBOBackupItem [-PersonalSites] [<CommonParameters>] |
- Create objects that represent teams.
|
New-VBOBackupItem -Team <VBOOrganizationTeam[]> [-TeamsChats] [<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-VBOBackupItem cmdlet to create a list of objects included in a backup job. The job will back up these objects.
Run the Add-VBOExcludedBackupItem 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 |
|---|---|---|---|---|---|
|
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 VBOOrganizationUser[] object. To get this object, run the Get-VBOOrganizationUser cmdlet. |
True |
Named |
False |
|
Mailbox |
Defines that the cmdlet will create an organization object that will have the mailbox option enabled. Default: False |
SwitchParameter |
False |
Named |
False |
|
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 PublicMailbox type of the user. |
SwitchParameter |
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 PublicMailbox type of the user. |
SwitchParameter |
False |
Named |
False |
|
Sites |
Defines that the cmdlet will create an organization object that will have the sites option enabled. Default: False |
SwitchParameter |
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 VBOOrganization[] object. To get this object, run the Get-VBOOrganization cmdlet. |
True |
Named |
False |
|
Teams |
Defines that the cmdlet will create an organization object that will have the teams option enabled. Default: False |
SwitchParameter |
False |
Named |
False |
|
TeamsChats |
Defines that the cmdlet will create an organization object that will have the team chats option enabled. Default: False |
SwitchParameter |
False |
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 VBOOrganizationSite[] object. To get this object, run the Get-VBOOrganizationSite cmdlet. |
True |
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 VBOOrganizationGroup[] object. To get this object, run the Get-VBOOrganizationGroup cmdlet. |
True |
Named |
False |
|
GroupMailbox |
Defines that the cmdlet will create an organization object that will have the group mailbox enabled. Default: False |
SwitchParameter |
False |
Named |
False |
|
GroupSite |
Defines that the cmdlet will create an organization object that will have the group site option enabled. Default: False |
SwitchParameter |
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 VBOOrganizationTeam[] object. To get this object, run the Get-VBOOrganizationTeam cmdlet. |
True |
Named |
False |
|
PersonalSites |
Defines that the cmdlet will create an organization object with the personal sites option enabled. Default: False |
SwitchParameter |
True |
Named |
False |
<CommonParameters>
This cmdlet supports Microsoft PowerShell common parameters. For more information on common parameters, see the About CommonParameters section of Microsoft Docs.
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 Chats 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 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 Chats
|
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