Get-AzRecoveryServicesAsrServicesProvider
Gets the details of the ASR recovery services providers registered to the Recovery Services vault.
Syntax
Default (Default)
Get-AzRecoveryServicesAsrServicesProvider
-Fabric <ASRFabric>
[-DefaultProfile <IAzureContextContainer>]
[<CommonParameters>]
ByName
Get-AzRecoveryServicesAsrServicesProvider
-Name <String>
-Fabric <ASRFabric>
[-DefaultProfile <IAzureContextContainer>]
[<CommonParameters>]
ByFriendlyName
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.
Parameter properties
| Type: | IAzureContextContainer |
| Default value: | None |
| Supports wildcards: | False |
| DontShow: | False |
| Aliases: | AzContext, AzureRmContext, AzureCredential |
Parameter sets
(All)
| Position: | Named |
| Mandatory: | False |
| Value from pipeline: | False |
| Value from pipeline by property name: | False |
| Value from remaining arguments: | False |
-Fabric
Specifies the ASR fabric object.
Parameter properties
| Type: | ASRFabric |
| Default value: | None |
| Supports wildcards: | False |
| DontShow: | False |
Parameter sets
(All)
| Position: | Named |
| Mandatory: | True |
| Value from pipeline: | True |
| Value from pipeline by property name: | False |
| Value from remaining arguments: | False |
-FriendlyName
Specifies the friendly name of the ASR recovery services provider to get details for.
Parameter properties
| Type: | String |
| Default value: | None |
| Supports wildcards: | False |
| DontShow: | False |
Parameter sets
ByFriendlyName
| Position: | Named |
| Mandatory: | True |
| Value from pipeline: | False |
| Value from pipeline by property name: | False |
| Value from remaining arguments: | False |
-Name
Specifies the name of the ASR recovery services provider to get details for.
Parameter properties
| Type: | String |
| Default value: | None |
| Supports wildcards: | False |
| DontShow: | False |
Parameter sets
ByName
| Position: | Named |
| Mandatory: | True |
| 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.