Start-DPMCloudRegistration

Start-DPMCloudRegistration

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

Syntax

Parameter Set: Default
Start-DPMCloudRegistration [[-DPMServerName] <String> ] [-Credential] <PSCredential> [-Confirm] [-WhatIf] [ <CommonParameters>]

Detailed Description

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

Parameters

-Credential<PSCredential>

Specifies the user name and password for the administrator account of the Windows Azure Online Backup subscription.

Aliases

none

Required?

true

Position?

2

Default Value

none

Accept Pipeline Input?

True (ByValue)

Accept Wildcard Characters?

false

-DPMServerName<String>

Specifies the name of the DPM server.

Aliases

none

Required?

false

Position?

1

Default Value

none

Accept Pipeline Input?

false

Accept Wildcard Characters?

false

-Confirm

Prompts you for confirmation before running the cmdlet.

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.

Required?

false

Position?

named

Default Value

false

Accept Pipeline Input?

false

Accept Wildcard Characters?

false

<CommonParameters>

This cmdlet supports the common parameters: -Verbose, -Debug, -ErrorAction, -ErrorVariable, -OutBuffer, and -OutVariable. For more information, see    about_CommonParameters (https://go.microsoft.com/fwlink/p/?LinkID=113216).

Inputs

The input type is the type of the objects that you can pipe to the cmdlet.

Outputs

The output type is the type of the objects that the cmdlet emits.

Examples

Example 1: Register a DPM server with Windows Azure Online Backup

This example registers a DPM server with Windows Azure Online Backup.

The first command converts the string myPassword to a secure string and assigns the secure string to the variable named $Secpasswd.

The second command creates a new PSCredential object from the username sjones@contoso.com and the secure password in $Secpasswd, then assigns the object to the variable named $Mycreds.

The third command registers the DPM server TestingServer with Windows Azure Online Backup service by using the credential in $Mycreds.

PS C:\> $Secpasswd = ConvertTo-SecureString "myPassword" -AsPlainText -Force
PS C:\> $Mycreds = New-Object System.Management.Automation.PSCredential ("sjones@contoso.com", $Secpasswd)
PS C:\> Start-DPMCloudRegistration -DPMServerName "TestingServer" -Credential $Mycreds

Start-DPMCloudUnregistration