Set-VBOBackupApplication
Short Description
Modifies backup application settings that are added to Microsoft organizations.
Syntax
|
Set-VBOBackupApplication -BackupApplication <VBOBackupApplication> -ApplicationCertificatePath <String> [-ApplicationCertificatePassword <SecureString>] [<CommonParameters>] |
Detailed Description
This cmdlet modifies backup application settings that are added to Microsoft organizations. The backup application represents settings of a Microsoft Entra application. To modify settings, you need to enter the necessary parameters with new values. The parameters that you omit will remain unchanged.
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 |
|---|---|---|---|---|---|
|
ApplicationCertificatePassword |
Specifies the certificate password. The cmdlet will modify the password in the backup application settings. |
|
False |
Named |
False |
|
ApplicationCertificatePath |
Specifies a path to the folder where the certificate is located. The cmdlet will modify the path to the certificate in the backup application settings. |
|
True |
Named |
False |
|
BackupApplication |
Specifies a backup application whose settings you want to modify.
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
The cmdlet returns the VBOBackupApplication object that contains backup application settings that are added to Microsoft organizations.
Examples
Modifying Backup Application Certificate Path and Password
This example shows how to modify a path to the folder where the certificate is located. The cmdlet will change it to the C:\NewCertificate\cert.pfx value.
|
$securepassword = Read-Host "Enter your password" -AsSecureString Enter your password: ********** $app = Get-VBOBackupApplication Set-VBOBackupApplication -BackupApplication $app -ApplicationCertificatePath "C:\NewCertificate\cert.pfx" -ApplicationCertificatePassword $securepassword |
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
- Run the
Get-VBOBackupApplicationReturns backup application settings that are added to Microsoft organizations. cmdlet. Save the result to the$appvariable. - Run the
Set-VBOBackupApplicationcmdlet. Specify the following settings:- Set the
$appvariable as theBackupApplicationparameter value. - Specify the
ApplicationCertificatePathparameter value. - Set the
$securepasswordvariable as theApplicationCertificatePasswordparameter value.
- Set the
Related Commands
Read-HostGet-VBOBackupApplicationReturns backup application settings that are added to Microsoft organizations.