Cmdlets

Choose a cmdlet from the list on the left or search for a specific cmdlet. Choose a cmdlet from the list or search for a specific cmdlet.
About Help  Providers
 

Get-AzureSiteRecoveryProtectionContainer

Get-AzureSiteRecoveryProtectionContainer

microsoft.azure.commands.recoveryservices.dll

Synopsis

The Get-AzureSiteRecoveryProtectionContainer cmdlet gets protected containers for the current Microsoft Azure Site Recovery vault. A protected container is a logical container for protected objects such as virtual machines. Azure Site Recovery configures replication settings for protected containers

Syntax

Get-AzureSiteRecoveryProtectionContainer [-Id] [<CommonParameters>]

Get-AzureSiteRecoveryProtectionContainer [-Name] [<CommonParameters>]

Detailed Description

Get information about Azure site recovery Protection container under current Azure Site Recovery Vault. A protection container is the logical container for protection entities on which replication settings can be configured

Parameters

-Id <string>

Specifies the ID of a protected container to get.

Aliases

None

Required?

true

Position

named

Default value

None

Accept pipeline input?

false

Accept wildcard characters?

false

-Name <string>

Name of the Protection Container

Aliases

None

Required?

true

Position

named

Default value

None

Accept pipeline input?

false

Accept wildcard characters?

false

Input Type


Return Type


Notes

Examples

-------------------------- EXAMPLE 1 --------------------------

C:\PS>

Description

-----------

          Get-AzureSiteRecoveryProtectionContainer

          Name                        : PrimaryCloud
          ID                          : fd00d920-79e4-4f2d-a282-a779c0cecb7f_ce995917-c962-45d0-b7f3-9f408a4e1429
          FabricObjectId              : fd00d920-79e4-4f2d-a282-a779c0cecb7f
          FabricType                  : VMM
          Type                        : VMM
          ServerId                    : fd00d920-79e4-4f2d-a282-a779c0cecb7f
          Role                        : Primary
          AvailableProtectionProfiles : {ab01dcbe-9da0-4c31-9564-d6904cfadfde, ad388147-83de-4d2f-a09d-fa46c626747e}