Get-​Azure​Rm​Site​Recovery​Protectable​Item

Get the protectable items in a Protection Container.

Syntax

Get-AzureRmSiteRecoveryProtectableItem
   -FriendlyName <String>
   -ProtectionContainer <ASRProtectionContainer>
   [<CommonParameters>]
Get-AzureRmSiteRecoveryProtectableItem
   -Name <String>
   -ProtectionContainer <ASRProtectionContainer>
   [<CommonParameters>]

Description

The Get-AzureRmSiteRecoveryProtectableItem cmdlet gets the protectable items in an Azure Site Recovery Protection Container.

Required Parameters

-FriendlyName

Specifies the friendly name of the Azure Site Recovery protectable item.

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

Specifies the name of the Azure Site Recovery protectable item.

Type:String
Position:Named
Default value:None
Accept pipeline input:False
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.ASRProtectableItem, Microsoft.Azure.Commands.SiteRecovery, Version=2.0.1.0, Culture=neutral, PublicKeyToken=null]]