Add-VBOBackupApplication
Short Description
Adds backup application settings to an application pool.
Syntax
|
Add-VBOBackupApplication -Organization <VBOOrganization> -BackupApplications <VBOBackupApplication[]> [<CommonParameters>] |
Detailed Description
This cmdlet adds backup application settings to an application pool.
Important |
|
This cmdlet will run only for Microsoft organizations that are added to the Veeam Backup for Microsoft 365 infrastructure using modern app-only authentication method. |
Parameters
|
Parameter |
Description |
Type |
Required |
Position |
Accept Pipeline Input |
|---|---|---|---|---|---|
|
BackupApplications |
Specifies an array of backup applications. The cmdlet will add these backup applications to the Microsoft organization.
Accepts the
To create this object, run the |
True |
Named |
True (ByValue) |
|
|
Organization |
Specifies a Microsoft organization. The cmdlet will add backup application settings to the specified Microsoft organization.
Accepts the
To get this object, run the |
True |
Named |
True (ByValue) |
<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
The cmdlet returns the VBOBackupApplication object that contains backup application settings that are added to Microsoft organizations.
Examples
Adding Backup Application to Microsoft Organization
This example shows how to add a backup application to an application pool of Microsoft organization.
|
$securepassword = Read-Host "Enter your password" -AsSecureString Enter your password: ********** $org = Get-VBOOrganization $app = Get-VBOApplication -Organization $org -Name "New_App" $newApp = New-VBOBackupApplication -Application $app -ApplicationCertificatePath "C:\certificate\cert.pfx" -ApplicationCertificatePassword $securepassword Add-VBOBackupApplication -Organization $org -BackupApplications $newApp |
Perform the following steps:
- Specify the secure password:
- Run the
Read-Hostcmdlet. Specify the message that the console will display as a prompt. Provide theAsSecureStringparameter. Save the result to the$securepasswordvariable. - Enter the password.
- Run the
- Get an application:
- 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-VBOApplicationReturns Microsoft Entra applications added to Microsoft 365 organizations. cmdlet. Set the$orgvariable as theOrganizationparameter value. Specify theNameparameter value. Save the result to the$appvariable.
- Run the
- Run the
New-VBOBackupApplicationDefines backup application settings to back up SharePoint and OneDrive. cmdlet. Specify theApplication,ApplicationCertificatePathandApplicationCertificatePasswordparameters. Save the result to the$newAppvariable. - Run the
Add-VBOBackupApplicationcmdlet. Set the$orgvariable as theOrganizationparameter value. Set the$newAppvariable as theBackupApplicationsparameter value.
Related Commands
Read-HostGet-VBOOrganizationReturns Microsoft organizations added to the Veeam Backup for Microsoft 365 infrastructure.Get-VBOApplicationReturns Microsoft Entra applications added to Microsoft 365 organizations.New-VBOBackupApplicationDefines backup application settings to back up SharePoint and OneDrive.