< Back

Get-AzureRmSiteRecoveryProtectionEntity

Thu Apr 04, 2019 5:40 am

NAME Get-AzureRmSiteRecoveryProtectionEntity



SYNOPSIS

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





SYNTAX

Get-AzureRmSiteRecoveryProtectionEntity [-DefaultProfile <IAzureContextContainer>] -FriendlyName <String> -ProtectionContainer

<ASRProtectionContainer> [<CommonParameters>]



Get-AzureRmSiteRecoveryProtectionEntity [-DefaultProfile <IAzureContextContainer>] -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.





PARAMETERS

-DefaultProfile <IAzureContextContainer>

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



Required? false

Position? named

Default value None

Accept pipeline input? False

Accept wildcard characters? false



-FriendlyName <String>

Specifies the friendly name of the protection entity.



Required? true

Position? named

Default value None

Accept pipeline input? False

Accept wildcard characters? false



-Name <String>

Specifies the name of the protection entity.



Required? true

Position? named

Default value None

Accept pipeline input? False

Accept wildcard characters? false



-ProtectionContainer <ASRProtectionContainer>

Specifies the protection container object.



Required? true

Position? named

Default value None

Accept pipeline input? True (ByValue)

Accept wildcard characters? false



<CommonParameters>

This cmdlet supports the common parameters: Verbose, Debug,

ErrorAction, ErrorVariable, WarningAction, WarningVariable,

OutBuffer, PipelineVariable, and OutVariable. For more information, see

about_CommonParameters (http://go.microsoft.com/fwlink/?LinkID=113216).



INPUTS

ASRProtectionContainer

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





OUTPUTS

System.Collections.Generic.IEnumerable`1[Microsoft.Azure.Commands.SiteRecovery.ASRProtectionEntity]







NOTES











RELATED LINKS

Online Version: https://docs.microsoft.com/en-us/powers ... tionentity

Set-AzureRmSiteRecoveryProtectionEntity