Adds cloud service providers.
: VMware, Hyper-V
: Standard, Enterprise, Enterprise Plus, Veeam Universal License
This cmdlet adds a new service provider to Veeam Backup & Replication.
You must set a network extension appliance if you plan to replicate your VMs to the cloud. Pre-configure the network extension appliance in advance. For details, see Network Appliance
type object for the Credentials parameter is not accepted any longer. Run the Add-VBRCloudProviderCredentials cmdlet to specify the cloud provider credentials records. |
Specifies a full DNS name or IP address of the cloud gateway configured on the service provider side. | |||||
Specifies the description of the service provider. | |||||
object. To get this object, run theGet-VBRCloudProviderCredentials | |||||
You must configure a network extension appliance if you want to replicate to the cloud. | |||||
Defines if the TLS certificate must be verified by the thumbprints. parameter to set the thumbprint that will be compared to the TLS certificate thumbprint. | |||||
Specifies the thumbprint that will be compared to the TLS certificate thumbprint. | |||||
Defines that the service provider must manage the Veeam backup server under the Backup as a Service agreement. The cmdlet will install the Veeam Managed Backup Portal agent on the Veeam backup server. | |||||
Defines that the cmdlet will skip the certificate verification if the verification fails. | |||||
Defines that the cmdlet will write a message that describes the effects of running the cmdlet without actually performing any action. | |||||
Defines that the cmdlet will display a prompt that asks if you want to continue running the command. |
Example 1. Adding Cloud Service Provider with Default Settings
This example shows how to add a cloud service provider to Veeam Backup & Replication using default settings. The service provider IP address is
$credentials = Get-VBRCloudProviderCredentials -Name “Tenant1”
Add-VBRCloudProvider -Address “198.51.100.11” -Credentials $credentials
- Get-VBRCloudProviderCredentials cmdlet. Specify the parameter value. Save the result to the
- cmdlet. Specify the parameter value. Set the variable as the
Example 2. Adding Cloud Service Provider with Specific Settings
- The service provider IP address is
- The service provider uses port
- The TLS certificate thumbprint verification is enabled. The thumbprint is e6 c0 e5 1a db 73 0c 13 b3 c3 74 d4 ee 93 ab d0 08 3f 7a a8
$credentials = Get-VBRCloudProviderCredentials -Name “Tenant1”
Add-VBRCloudProvider -Address “198.51.100.11” -Description “Cloud gateway for SP” -Port 6252 -Credentials $credentials -VerifyCertificate -CertificateThumbprint “e6 c0 e5 1a db 73 0c 13 b3 c3 74 d4 ee 93 ab d0 08 3f 7a a8”
- Get-VBRCloudProviderCredentials cmdlet. Specify the parameter value. Save the result to the
- variable as the
Example 3. Adding Cloud Service Provider and Configuring Network Extension Appliance
This example shows how to add a service provider and configure a network extension appliance. The service provider IP address is
$server = Get-VBRServer –Type HvServer -Name “srv02.tech.local”
$folder = “C:\Datastore”
$viAppl = New-VBRCloudProviderNetworkAppliance -Server $server -Network $network –Folder $folder
$credentials = Get-VBRCloudProviderCredentials -Name “Tenant1”
Add-VBRCloudProvider -Address “198.51.100.11” -Credentials $credentials -Appliance $viAppl
- Create a network extension appliance:
- Get-VBRServer cmdlet. Set the option for the parameter. Specify the parameter value. Save the server to the
- value to the
- Get-VBRHvServerNetworkInfo cmdlet. Set the variable as the parameter value and use the statement to filter the networks by the . property. Save the network to the
- New-VBRCloudProviderNetworkAppliance cmdlet. Specify the parameter values. Save the result to the
- Get-VBRCloudProviderCredentials cmdlet. Specify the parameter value. Save the result to the
- cmdlet. Specify the parameter value. Set the variable as the parameter value. Set the variable as the
<#
.SYNOPSIS Returns a list of all OLE DB Providers that are registered in the system
.DESCRIPTION Returns a List of all OLE DB Providers that are registered in the system Every element in the list has the following properties: SOURCES_NAME SOURCES_PARSENAME SOURCES_DESCRIPTION SOURCES_TYPE SOURCES_ISPARENT SOURCES_CLSID NOTE: OLE DB providers are 32-bits and 64-bits aware/specific.
.EXAMPLE C:\PS> Get-OledbRegistered
.EXAMPLE $list = Get-OledbRegistered $list | ?{ $_.SOURCES_DESCRIPTION.IndexOf('SQL Server') -ge 0 } To list all "SQL Server" providers
#>
function Get-OledbRegistered
{ [CmdletBinding()] [OutputType([System.Collections.Generic.List[PSObject]])] param () Process { $list = New-Object ([System.Collections.Generic.List[PSObject]]) foreach ($provider in [System.Data.OleDb.OleDbEnumerator]::GetRootEnumerator()) { $v = New-Object PSObject for ($i = 0; $i -lt $provider.FieldCount; $i++) { Add-Member -in $v NoteProperty $provider.GetName($i) $provider.GetValue($i) } $list.Add($v) } return $list }
}
Get-OledbRegistered


