Skip to content

Latest commit

 

History

History
149 lines (111 loc) · 4.67 KB

Get-AzureRmRecoveryServicesAsrReplicationProtectedItem.md

File metadata and controls

149 lines (111 loc) · 4.67 KB
external help file Module Name online version schema
Microsoft.Azure.Commands.RecoveryServices.SiteRecovery.dll-Help.xml
AzureRM.RecoveryServices.SiteRecovery
2.0.0

Get-AzureRmRecoveryServicesAsrReplicationProtectedItem

SYNOPSIS

Gets the properties of an Azure Site Recovery Replication Protected Items.

SYNTAX

ByObject (Default)

Get-AzureRmRecoveryServicesAsrReplicationProtectedItem -ProtectionContainer <ASRProtectionContainer>
 [-DefaultProfile <IAzureContextContainer>] [<CommonParameters>]

ByObjectWithName

Get-AzureRmRecoveryServicesAsrReplicationProtectedItem -Name <String>
 -ProtectionContainer <ASRProtectionContainer> [-DefaultProfile <IAzureContextContainer>] [<CommonParameters>]

ByObjectWithFriendlyName

Get-AzureRmRecoveryServicesAsrReplicationProtectedItem -FriendlyName <String>
 -ProtectionContainer <ASRProtectionContainer> [-DefaultProfile <IAzureContextContainer>] [<CommonParameters>]

ByProtectableItemObject

Get-AzureRmRecoveryServicesAsrReplicationProtectedItem -ProtectableItem <ASRProtectableItem>
 [-DefaultProfile <IAzureContextContainer>] [<CommonParameters>]

DESCRIPTION

The Get-AzureRmRecoveryServicesAsrReplicationProtectedItem cmdlet gets the properties of all or the specified ASR replication protected item from the specified ASR protection container.

EXAMPLES

Example 1

PS C:\> $ReplicationProtectedItems = Get-AzureRmRecoveryServicesAsrReplicationProtectedItem -ProtectionContainer $PrimaryContainer

Lists all replication protected items in the specified ASR protection container.

PARAMETERS

-DefaultProfile

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

Type: Microsoft.Azure.Commands.Common.Authentication.Abstractions.IAzureContextContainer
Parameter Sets: (All)
Aliases: AzureRmContext, AzureCredential

Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-FriendlyName

Specifies the friendly name of the replication protected item to get.

Type: System.String
Parameter Sets: ByObjectWithFriendlyName
Aliases:

Required: True
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-Name

Specifies the name of the replication protected item to get.

Type: System.String
Parameter Sets: ByObjectWithName
Aliases:

Required: True
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-ProtectableItem

Specifies an ASR protectable item object. The cmdlet gets the ASR replication protected item corresponding to the specified ASR protectable item if the item is protected.

Type: Microsoft.Azure.Commands.RecoveryServices.SiteRecovery.ASRProtectableItem
Parameter Sets: ByProtectableItemObject
Aliases:

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

-ProtectionContainer

Specifies the ASR protection container object of the ASR protection container corresponding to the replication protected item.

Type: Microsoft.Azure.Commands.RecoveryServices.SiteRecovery.ASRProtectionContainer
Parameter Sets: ByObject, ByObjectWithName, ByObjectWithFriendlyName
Aliases:

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

CommonParameters

This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters (http://go.microsoft.com/fwlink/?LinkID=113216).

INPUTS

Microsoft.Azure.Commands.RecoveryServices.SiteRecovery.ASRProtectionContainer

Microsoft.Azure.Commands.RecoveryServices.SiteRecovery.ASRProtectableItem

OUTPUTS

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

NOTES

RELATED LINKS

New-AzureRmRecoveryServicesAsrReplicationProtectedItem

Remove-AzureRmRecoveryServicesAsrReplicationProtectedItem

Set-AzureRmRecoveryServicesAsrReplicationProtectedItem