New-VBOBackupAccount
Short Description
Creates auxiliary backup accounts to back up SharePoint and OneDrive.
Syntax
|
New-VBOBackupAccount -SecurityGroupMember <VBOOrganizationGroupMember> -Password <SecureString> [<CommonParameters>] |
Detailed Description
This cmdlet creates the VBOBackupAccount object that defines settings of auxiliary backup accounts.
Important |
|
You cannot configure auxiliary backup accounts for on-premises Microsoft SharePoint organizations. The entire security group will be granted the Site Collection Administrator role, which means that each user in this group will be granted this role as well, regardless of what users have been added with the |
Parameters
|
Parameter |
Description |
Type |
Required |
Position |
Accept Pipeline Input |
|---|---|---|---|---|---|
|
Password |
Specifies a password. The cmdlet will use this password to back up Microsoft SharePoint and OneDrive data. |
|
True |
Named |
False |
|
SecurityGroupMember |
Specifies security groups. The cmdlet will use accounts from these security groups to back up Microsoft SharePoint and OneDrive data.
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 VBOBackupAccount object that defines settings of auxiliary backup accounts to back up Microsoft SharePoint and OneDrive data.
Examples
Defining Auxiliary Backup Account to Back Up Microsoft SharePoint and OneDrive
This example shows how to define auxiliary backup account to back up Microsoft SharePoint and OneDrive.
|
$org = Get-VBOOrganization $group = Get-VBOOrganizationGroup -Organization $org -DisplayName "VBOWorkGroup" $members = Get-VBOOrganizationGroupMember -Group $group $pwd = ConvertTo-SecureString -String "Pa$$word123" -AsPlainText -Force New-VBOBackupAccount -SecurityGroupMember $members[0] -Password $pwd |
Perform the following steps:
- Run the
Get-VBOOrganizationReturns Microsoft organizations added to the Veeam Backup for Microsoft 365 infrastructure. cmdlet. Save the result to the$orgvariable. - Run the
Get-VBOOrganizationGroupReturns organization groups. cmdlet. Set the$orgvariable as theOrganizationparameter value. Specify theDisplayNameparameter value. Save the result to the$groupvariable. - Run the
Get-VBOOrganizationGroupMemberReturns members of organization groups. cmdlet. Set the$groupvariable as theGroupvariable value. Save the result to the$membersvariable. - Run the
ConvertTo-SecureStringcmdlet. Specify the necessary parameters. Save the result to the$pwdvariable. - Run the
New-VBOBackupAccountcmdlet. Set the$membersvariable as theSecurityGroupMemberparameter value. Set the$pwdvariable as thePasswordparameter value.
Related Commands
Get-VBOOrganizationReturns Microsoft organizations added to the Veeam Backup for Microsoft 365 infrastructure.Get-VBOOrganizationGroupReturns organization groups.Get-VBOOrganizationGroupMemberReturns members of organization groups.ConvertTo-SecureString