external help file | Module Name | online version | schema |
---|---|---|---|
Microsoft.Azure.PowerShell.Cmdlets.RecoveryServices.SiteRecovery.dll-Help.xml |
Az.RecoveryServices |
2.0.0 |
Get the protectable items in an ASR protection container.
Get-AzRecoveryServicesAsrProtectableItem -ProtectionContainer <ASRProtectionContainer>
[-DefaultProfile <IAzureContextContainer>] [<CommonParameters>]
Get-AzRecoveryServicesAsrProtectableItem -Name <String> -ProtectionContainer <ASRProtectionContainer>
[-DefaultProfile <IAzureContextContainer>] [<CommonParameters>]
Get-AzRecoveryServicesAsrProtectableItem -FriendlyName <String> -ProtectionContainer <ASRProtectionContainer>
[-DefaultProfile <IAzureContextContainer>] [<CommonParameters>]
Get-AzRecoveryServicesAsrProtectableItem -FriendlyName <String> -SiteId <String>
-ProtectionContainer <ASRProtectionContainer> [-DefaultProfile <IAzureContextContainer>] [<CommonParameters>]
Get-AzRecoveryServicesAsrProtectableItem -SiteId <String> -ProtectionContainer <ASRProtectionContainer>
[-DefaultProfile <IAzureContextContainer>] [<CommonParameters>]
The Get-AzRecoveryServicesAsrProtectableItem cmdlet gets the protectable items in an Azure Site Recovery Protection Container.
$ProtectableItems = Get-AzRecoveryServicesAsrProtectableItem -ProtectionContainer $Container
Gets all the protectable items in specified ASR protection container.
Get-AzRecoveryServicesAsrProtectableItem -ProtectionContainer $pc -FriendlyName $piFriendlyName
Disks : {}
FabricObjectId :
FabricSpecificVMDetails : Microsoft.Azure.Commands.RecoveryServices.SiteRecovery.ASRVMWareSpecificVMDetails
FriendlyName : V2A-W2K12-400
ID : /Subscriptions/xxxxxxxxxxxx/resourceGroups/canaryexproute/providers/Microsoft.RecoveryServices/vaults/IbizaV2ATest/replicationFabrics/d011a5abf48190235963ee3a88ad188ee6bca8a4c6cd0c8d7ce5d439aa77ffd9/replicationProt
ectionContainers/cloud_5dc96260-9f00-42e4-aca7-24ad27fc2078/replicationProtectableItems/22d47502-7df0-11e7-9373-0050568f2e8f
Name : 22d47502-7df0-11e7-9373-0050568f2e8f
OS : WINDOWS
OSDiskId :
OSDiskName :
ProtectionContainerId : cloud_5dc96260-9f00-42e4-aca7-24ad27fc2078
ProtectionReadinessErrors :
ProtectionStatus : Unprotected
ReplicationProtectedItemId :
SupportedReplicationProviders : {InMage, InMageAzureV2}
Get the protectable items in specified ASR protection container and with given friendly name.
Get-AzRecoveryServicesAsrProtectableItem -ProtectionContainer $pc -Name $piName
Disks : {}
FabricObjectId :
FabricSpecificVMDetails : Microsoft.Azure.Commands.RecoveryServices.SiteRecovery.ASRVMWareSpecificVMDetails
FriendlyName : V2A-W2K12-400
ID : /Subscriptions/xxxxxxxxxxxx/resourceGroups/canaryexproute/providers/Microsoft.RecoveryServices/vaults/IbizaV2ATest/replicationFabrics/d011a5abf48190235963ee3a88ad188ee6bca8a4c6cd0c8d7ce5d439aa77ffd9/replicationProt
ectionContainers/cloud_5dc96260-9f00-42e4-aca7-24ad27fc2078/replicationProtectableItems/22d47502-7df0-11e7-9373-0050568f2e8f
Name : 22d47502-7df0-11e7-9373-0050568f2e8f
OS : WINDOWS
OSDiskId :
OSDiskName :
ProtectionContainerId : cloud_5dc96260-9f00-42e4-aca7-24ad27fc2078
ProtectionReadinessErrors :
ProtectionStatus : Unprotected
ReplicationProtectedItemId :
SupportedReplicationProviders : {InMage, InMageAzureV2}
Gets all the protectable items in specified ASR protection container.
The credentials, account, tenant, and subscription used for communication with Azure.
Type: Microsoft.Azure.Commands.Common.Authentication.Abstractions.Core.IAzureContextContainer
Parameter Sets: (All)
Aliases: AzContext, AzureRmContext, AzureCredential
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
Specifies the friendly name of the ASR protectable item.
Type: System.String
Parameter Sets: ByObjectWithFriendlyName, ByObjectWithSiteIdAndFriendlyName
Aliases:
Required: True
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
Specifies the name of the ASR protectable item.
Type: System.String
Parameter Sets: ByObjectWithName
Aliases:
Required: True
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
Specifies the Azure Site Recovery Protection Container object.
Type: Microsoft.Azure.Commands.RecoveryServices.SiteRecovery.ASRProtectionContainer
Parameter Sets: (All)
Aliases:
Required: True
Position: Named
Default value: None
Accept pipeline input: True (ByValue)
Accept wildcard characters: False
Specifies the VMware site Id where the protectable item was discovered (Applicable only for VMware to Azure replication scenario). Use site Id from fabric specific details in the ASR fabric to specify one.
Type: System.String
Parameter Sets: ByObjectWithSiteIdAndFriendlyName, ByObjectWithSiteId
Aliases:
Required: True
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.