Get-​Azure​Rm​Site​Recovery​Replication​Protected​Item

Gets the properties of Azure Site Recovery Protected Items.

Syntax

Get-AzureRmSiteRecoveryReplicationProtectedItem
   -ProtectionContainer <ASRProtectionContainer>
   [<CommonParameters>]
Get-AzureRmSiteRecoveryReplicationProtectedItem
   -ProtectionContainer <ASRProtectionContainer>
   -Name <String>
   [<CommonParameters>]
Get-AzureRmSiteRecoveryReplicationProtectedItem
   -ProtectionContainer <ASRProtectionContainer>
   -FriendlyName <String>
   [<CommonParameters>]
Get-AzureRmSiteRecoveryReplicationProtectedItem
   -ProtectableItem <ASRProtectableItem>
   [<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: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:ASRProtectionContainer
Position:Named
Default value:None
Accept pipeline input:True (ByValue)
Accept wildcard characters:False

Outputs

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