Condividi tramite


Get-DPMCloudRecoveryService

Get-DPMCloudRecoveryService

Gets a backup Cloud Service resource.

Syntax

Parameter Set: CloudRegistrationByCertificate
Get-DPMCloudRecoveryService [[-DPMServerName] <String> ] [-Certificate] <CloudCertificate> [-Confirm] [-WhatIf] [ <CommonParameters>]

Parameter Set: CloudRegistrationByVaultCredentialFile
Get-DPMCloudRecoveryService [[-DPMServerName] <String> ] [-VaultCredentialsFilePath] <String> [-Confirm] [-WhatIf] [ <CommonParameters>]

Detailed Description

The Get-DPMCloudRecoveryService cmdlet gets a Windows Azure Online Backup Cloud Service resource object.

Parameters

-Certificate<CloudCertificate>

Specifies a certificate.

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 System Center 2012 – Data Protection Manager (DPM) server on which this cmdlet acts.

Aliases

none

Required?

false

Position?

1

Default Value

none

Accept Pipeline Input?

false

Accept Wildcard Characters?

false

-VaultCredentialsFilePath<String>

Specifies the vault credential file path for the Azure online backup. Specify a network path for a remote user interface.

Aliases

none

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.

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.

  • CloudServiceResource

Examples

Example 1: Returns the cloud service resource for given vault credential file

This command returns the Azure Online Backup recovery resource for the DPM server named TestingServer that has vault credential file DPMTESTVault_Friday, September 5, 2014.VaultCredentials.

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