Get-AzureRmSiteRecoveryReplicationProtectedItem

Gets the properties of Azure Site Recovery Protected Items.

Syntax

Get-AzureRmSiteRecoveryReplicationProtectedItem
   -ProtectionContainer <ASRProtectionContainer>
   [-DefaultProfile <IAzureContextContainer>]
   [<CommonParameters>]
Get-AzureRmSiteRecoveryReplicationProtectedItem
   -Name <String>
   -ProtectionContainer <ASRProtectionContainer>
   [-DefaultProfile <IAzureContextContainer>]
   [<CommonParameters>]
Get-AzureRmSiteRecoveryReplicationProtectedItem
   -FriendlyName <String>
   -ProtectionContainer <ASRProtectionContainer>
   [-DefaultProfile <IAzureContextContainer>]
   [<CommonParameters>]
Get-AzureRmSiteRecoveryReplicationProtectedItem
   -ProtectableItem <ASRProtectableItem>
   [-DefaultProfile <IAzureContextContainer>]
   [<CommonParameters>]

Description

The Get-AzureRmSiteRecoveryReplicationProtectedItem cmdlet gets the properties of Azure Site Recovery Protected Items.

Required Parameters

-FriendlyName

Specifies the friendly name of the Replication Protected Item that this cmdlet gets.

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

Specifies the name of the Replication Protected Item that this cmdlet gets.

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

Specifies the Protectable Item corresponding to the Replication Protected Item.

Type:Microsoft.Azure.Commands.SiteRecovery.ASRProtectableItem
Position:Named
Default value:None
Accept pipeline input:True (ByValue)
Accept wildcard characters:False
-ProtectionContainer

Specifies the Azure Site Recovery Protection Container object.

Type:Microsoft.Azure.Commands.SiteRecovery.ASRProtectionContainer
Position:Named
Default value:None
Accept pipeline input:True (ByValue)
Accept wildcard characters:False

Optional Parameters

-DefaultProfile

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

Type:Microsoft.Azure.Commands.Common.Authentication.Abstractions.IAzureContextContainer
Aliases:AzureRmContext, AzureCredential
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False

Inputs

ASRProtectableItem

Parameter 'ProtectableItem' accepts value of type 'ASRProtectableItem' from the pipeline

Inputs

ASRProtectionContainer

Parameter 'ProtectionContainer' accepts value of type 'ASRProtectionContainer' from the pipeline

Outputs

System.Collections.Generic.IEnumerable`1[[Microsoft.Azure.Commands.SiteRecovery.ASRReplicationProtectedItem, Microsoft.Azure.Commands.SiteRecovery, Version=2.0.1.0, Culture=neutral, PublicKeyToken=null]]