Start-DPMCloudRegistration

Registers a DPM server with Azure Online Backup service to enable online protection.

Syntax

Start-DPMCloudRegistration [[-DPMServerName] <String>] [-RecoveryService] <CloudServiceResource> [-Confirm]
 [-WhatIf] [<CommonParameters>]
Start-DPMCloudRegistration [[-DPMServerName] <String>] [-VaultCredentialsFilePath] <String> [-Confirm]
 [-WhatIf] [<CommonParameters>]

Description

The Start-DPMCloudRegistration cmdlet registers a System Center 2016 - Data Protection Manager (DPM) server with Azure Online Backup service to enable online protection.

Examples

Example 1: Register a server with Azure Online Backup using cloud recovery source

PS C:\>$ContosoResource = Get-DPMCloudRecoveryService -DPMServerName "TestingServer" -VaultCredentialsFilePath "DPMTESTVault_Friday, September 5, 2014.VaultCredentials"
PS C:\> Start-DPMCloudRegistration -DPMServerName "TestingServer" -RecoveryService $ContosoResource

The first command gets the cloud service resource from the vault credential file.

The second command registers the DPM server named TestingServer with Azure Online Backup by using the cloud service resource.

Example 2: Register a server with Azure Online Backup using vault credential file

PS C:\>Start-DPMCloudRegistration -DPMServerName "TestingServer" -VaultCredentialsFilePath "C:\DPMTESTVault_Friday, September 5, 2014.VaultCredentials"

This command registers a DPM server named TestingServer with Azure Online Backup by using vault credential file C:\DPMTESTVault_Friday, September 5, 2014.VaultCredentials.

Parameters

-DPMServerName

Specifies the name of the DPM server that this cmdlet registers.

Type:String
Required:False
Position:1
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-RecoveryService

Specifies the Cloud recovery resource for the backup vault on Azure Online Backup.

Type:CloudServiceResource
Required:True
Position:2
Default value:None
Accept pipeline input:True (ByValue)
Accept wildcard characters:False
-VaultCredentialsFilePath

Specifies the vault credential file path for the Azure Online Backup. Specify a network path for a remote user interface .

Type:String
Required:True
Position:2
Default value:None
Accept pipeline input:True (ByValue)
Accept wildcard characters:False
-Confirm

Prompts you for confirmation before running the cmdlet.

Type:SwitchParameter
Aliases:cf
Required:False
Position:Named
Default value:False
Accept pipeline input:False
Accept wildcard characters:False
-WhatIf

Shows what would happen if the cmdlet runs. The cmdlet is not run.

Type:SwitchParameter
Aliases:wi
Required:False
Position:Named
Default value:False
Accept pipeline input:False
Accept wildcard characters:False