Get-AzRecoveryServicesAsrServicesProvider

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

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

PS C:\> $RSPs = Get-AzRecoveryServicesAsrFabric | Get-AzRecoveryServicesAsrServicesProvider

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

Parameters

-DefaultProfile

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

Type:Microsoft.Azure.Commands.Common.Authentication.Abstractions.Core.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 (ByValue)
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