Set-VBORestorePortalSettings
Short Description
Modifies connection settings to access Restore Portal.
Syntax
|
Set-VBORestorePortalSettings [-EnableService] [-ApplicationId <Guid>] [-CertificateFilePath <String>] [-Region <VBOOffice365Region>] [-CertificatePassword <SecureString>] [-PortalUri <String>] [<CommonParameters>] |
Detailed Description
This cmdlet modifies connection settings to access Restore Portal. These settings specify whether Restore Portal is enabled, an identification number of Microsoft Entra application configured to access Restore Portal and a TLS certificate used for data exchange.
To modify settings, you need to enter the necessary parameters with new values. The parameters that you omit will remain unchanged.
Note |
|
This cmdlet accepts the SecureString type. Use Microsoft PowerShell standard capabilities to convert your password into the SecureString. |
Parameters
|
Parameter |
Description |
Type |
Required |
Position |
Accept Pipeline Input |
|---|---|---|---|---|---|
|
ApplicationId |
Specifies Microsoft Entra application ID. The cmdlet will use an application with this ID to connect to Restore Portal. |
|
False |
Named |
False |
|
CertificateFilePath |
Specifies a path to the TLS certificate file. |
|
False |
Named |
False |
|
CertificatePassword |
Specifies a password for the TLS certificate. |
|
False |
Named |
False |
|
EnableService |
Defines that the cmdlet will enable Restore Portal. Default: False |
|
False |
Named |
False |
|
PortalUri |
Specifies web address of a machine with the Veeam Backup for Microsoft 365 REST API component installed. Before you add URI, consider the following restrictions:
|
|
False |
Named |
False |
|
Region |
Specifies Microsoft Entra region where Microsoft 365 organization datacenter is located:
|
|
False |
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 VBORestorePortalSettings object that contains connection settings to access Restore Portal.
Examples
Modifying Authentication Settings to Access Restore Portal
This example shows how to modify connection settings to access Restore Portal:
- Change identification number of Microsoft Entra application.
- Locate the TLS certificate file and specify the certificate password.
- Specify web address to open Restore Portal in a web browser window.
|
$plainpassword = "Password1234plain" $securepassword = $plainpassword | ConvertTo-SecureString -AsPlainText -Force Set-VBORestorePortalSettings -EnableService -ApplicationId 98ce1588-597b-4e24-be7c-8a7f9fda41d4 -CertificateFilePath "C:\Certificates" -CertificatePassword $securepassword -PortalUri "https://portal.abc.com:4443" |
Perform the following steps:
- Assign the certificate password to the
$plainpasswordvariable. - Run the
ConvertTo-SecureStringcmdlet with the$plainpasswordvariable to turn the password into theSecureStringtype. Save the result to the$securepasswordvariable. - Run the
Set-VBORestorePortalSettingscmdlet. Specify the following settings:- Provide the
EnableServiceparameter. - Specify the
ApplicationIdparameter value. - Specify the
CertificateFilePathparameter value. - Set the
$securepasswordvariable as theCertificatePasswordparameter value. - Specify the
PortalUriparameter value.
- Provide the
Related Commands