Get-​Azure​Rm​Site​Recovery​Protection​Entity

Gets a list of protectable or protected entities in the current Site Recovery vault.

Syntax

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

Description

The Get-AzureRmSiteRecoveryProtectionEntity cmdlet gets a list of protectable or protected entities, such as virtual machines, in the current Azure Site Recovery vault.

Required Parameters

-FriendlyName

Specifies the friendly name of the protection entity.

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

Specifies the name of the protection entity.

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

Specifies the protection container object.

Type:ASRProtectionContainer
Position:Named
Default value:None
Accept pipeline input:True (ByValue)
Accept wildcard characters:False