Get-AzRecoveryServicesAsrServicesProvider

Gets the details of the ASR recovery services providers registered to the Recovery Services vault.

Note

This is the previous version of our documentation. Please consult the most recent version for up-to-date information.

Syntax

Get-AzRecoveryServicesAsrServicesProvider
   -Fabric <ASRFabric>
   [-DefaultProfile <IAzureContextContainer>]
   [<CommonParameters>]
Get-AzRecoveryServicesAsrServicesProvider
   -Name <String>
   -Fabric <ASRFabric>
   [-DefaultProfile <IAzureContextContainer>]
   [<CommonParameters>]
Get-AzRecoveryServicesAsrServicesProvider
   -FriendlyName <String>
   -Fabric <ASRFabric>
   [-DefaultProfile <IAzureContextContainer>]
   [<CommonParameters>]

Description

The Get-AzRecoveryServicesAsrServicesProvider cmdlet gets information on the Azure Site Recovery providers in the vault.

Examples

Example 1

$RSPs = Get-AzRecoveryServicesAsrFabric | Get-AzRecoveryServicesAsrServicesProvider

List all ASR replication services providers registered to the Recovery Services vault corresponding to the specified fabric.

Example 2

Gets the details of the ASR recovery services providers registered to the Recovery Services vault. (autogenerated)

Get-AzRecoveryServicesAsrServicesProvider -Fabric $Fabric

Parameters

-DefaultProfile

The credentials, account, tenant, and subscription used for communication with Azure.

Type:IAzureContextContainer
Aliases:AzContext, AzureRmContext, AzureCredential
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-Fabric

Specifies the ASR fabric object.

Type:ASRFabric
Position:Named
Default value:None
Accept pipeline input:True
Accept wildcard characters:False
-FriendlyName

Specifies the friendly name of the ASR recovery services provider to get details for.

Type:String
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-Name

Specifies the name of the ASR recovery services provider to get details for.

Type:String
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False

Inputs

ASRFabric

Outputs

ASRRecoveryServicesProvider