< Back

Get-AzureRmSiteRecoveryReplicationProtectedItem

Thu Apr 04, 2019 5:40 am

NAME Get-AzureRmSiteRecoveryReplicationProtectedItem



SYNOPSIS

Gets the properties of Azure Site Recovery Protected Items.





SYNTAX

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

<ASRProtectionContainer> [<CommonParameters>]



Get-AzureRmSiteRecoveryReplicationProtectedItem [-DefaultProfile <IAzureContextContainer>] -Name <String> -ProtectionContainer

<ASRProtectionContainer> [<CommonParameters>]



Get-AzureRmSiteRecoveryReplicationProtectedItem [-DefaultProfile <IAzureContextContainer>] -ProtectableItem <ASRProtectableItem>

[<CommonParameters>]



Get-AzureRmSiteRecoveryReplicationProtectedItem [-DefaultProfile <IAzureContextContainer>] -ProtectionContainer <ASRProtectionContainer>

[<CommonParameters>]





DESCRIPTION

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





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 Replication Protected Item that this cmdlet gets.



Required? true

Position? named

Default value None

Accept pipeline input? False

Accept wildcard characters? false



-Name <String>

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



Required? true

Position? named

Default value None

Accept pipeline input? False

Accept wildcard characters? false



-ProtectableItem <ASRProtectableItem>

Specifies the Protectable Item corresponding to the Replication Protected Item.



Required? true

Position? named

Default value None

Accept pipeline input? True (ByValue)

Accept wildcard characters? false



-ProtectionContainer <ASRProtectionContainer>

Specifies the Azure Site Recovery 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

ASRProtectableItem

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



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]]







NOTES











RELATED LINKS

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

New-AzureRmSiteRecoveryReplicationProtectedItem

Remove-AzureRmSiteRecoveryReplicationProtectedItem

Set-AzureRmSiteRecoveryReplicationProtectedItem