Share via


Get-DPMCloudRecoveryService

Gets a backup Cloud Service resource.

Syntax

CloudRegistrationByCertificate

Get-DPMCloudRecoveryService
    [[-DPMServerName] <String>]
    [-Certificate] <CloudCertificate>
    [-WhatIf]
    [-Confirm]
    [<CommonParameters>]

CloudRegistrationByVaultCredentialFile

Get-DPMCloudRecoveryService
    [[-DPMServerName] <String>]
    [-VaultCredentialsFilePath] <String>
    [-WhatIf]
    [-Confirm]
    [<CommonParameters>]

Description

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

Examples

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

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

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.

Parameters

-Certificate

Specifies a certificate.

Parameter properties

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

Parameter sets

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

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

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

-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.

Outputs

CloudServiceResource