< Back

Get-AzureRmSiteRecoveryProtectionContainer

Thu Apr 04, 2019 5:40 am

NAME Get-AzureRmSiteRecoveryProtectionContainer



SYNOPSIS

Gets protection containers for the current Site Recovery vault.





SYNTAX

Get-AzureRmSiteRecoveryProtectionContainer [-DefaultProfile <IAzureContextContainer>] -Fabric <ASRFabric> -Name <String> [<CommonParameters>]



Get-AzureRmSiteRecoveryProtectionContainer [-DefaultProfile <IAzureContextContainer>] -Fabric <ASRFabric> -FriendlyName <String>

[<CommonParameters>]



Get-AzureRmSiteRecoveryProtectionContainer [-DefaultProfile <IAzureContextContainer>] -Fabric <ASRFabric> [<CommonParameters>]



Get-AzureRmSiteRecoveryProtectionContainer [-DefaultProfile <IAzureContextContainer>] -FriendlyName <String> [<CommonParameters>]



Get-AzureRmSiteRecoveryProtectionContainer [-DefaultProfile <IAzureContextContainer>] -Name <String> [<CommonParameters>]





DESCRIPTION

The Get-AzureRmSiteRecoveryProtectionContainer cmdlet gets protection containers for the current Azure Site Recovery vault. A protection container

is a logical container for protected objects such as virtual machines. Protection policies define replication settings for protected items and can

be associated with a protection container and applied to a protected entity.





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



-Fabric <ASRFabric>





Required? true

Position? named

Default value None

Accept pipeline input? True (ByValue)

Accept wildcard characters? false



-FriendlyName <String>

Specifies the friendly name of the protection container.



Required? true

Position? named

Default value None

Accept pipeline input? False

Accept wildcard characters? false



-Name <String>

Specifies the name of the protection container.



Required? true

Position? named

Default value None

Accept pipeline input? False

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

ASRFabric

Parameter 'Fabric' accepts value of type 'ASRFabric' from the pipeline





OUTPUTS

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







NOTES











RELATED LINKS

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