Share via


Get-OBRecoveryService

Gets the list of available vaults.

Syntax

Default (Default)

Get-OBRecoveryService
    [-Certificate] <CBCertificate>

Description

The Get-OBRecoveryService cmdlet gets the list of backup vaults that you can use to register the current computer with Microsoft Azure Backup.

To use Microsoft Azure Backup cmdlets, the user needs to be an administrator on the protected machine.

Examples

Example 1: Get the list of backup vaults

Get-OBRecoveryService

This command gets the list of backup vaults that you can use to register the current computer with Microsoft Azure Backup.

Parameters

-Certificate

Specifies the private key of a certificate. Microsoft Azure Backup uses the private key to obtain the recovery services.

Parameter properties

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

Parameter sets

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

Inputs

OBCertificate