Share via


Start-DPMCloudRegistration

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

Syntax

CloudRegistrationByServiceResource

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

CloudRegistrationByVaultCredentialFile

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

Description

The Start-DPMCloudRegistration cmdlet registers a System Center - 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

-Confirm

Prompts you for confirmation before running the cmdlet.

Parameter properties

Type:SwitchParameter
Default value:False
Supports wildcards:False
DontShow:False
Aliases:cf

Parameter sets

(All)
Position:Named
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

-DPMServerName

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

Parameter properties

Type:String
Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

(All)
Position:1
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

-RecoveryService

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

Parameter properties

Type:CloudServiceResource
Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

CloudRegistrationByServiceResource
Position:2
Mandatory:True
Value from pipeline:True
Value from pipeline by property name:False
Value from remaining arguments:False

-VaultCredentialsFilePath

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

Parameter properties

Type:String
Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

CloudRegistrationByVaultCredentialFile
Position:2
Mandatory:True
Value from pipeline:True
Value from pipeline by property name:False
Value from remaining arguments:False

-WhatIf

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

Parameter properties

Type:SwitchParameter
Default value:False
Supports wildcards:False
DontShow:False
Aliases:wi

Parameter sets

(All)
Position:Named
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

CommonParameters

This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutBuffer, -OutVariable, -PipelineVariable, -ProgressAction, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.