Get-DPMReplicaCreationMethod

Get-DPMReplicaCreationMethod

Gets the replica creation method for a protection group.

Syntax

Parameter Set: Default
Get-DPMReplicaCreationMethod [-ProtectionGroup] <ProtectionGroup> [-Reserved] [ <CommonParameters>]

Detailed Description

The Get-DPMReplicaCreationMethod cmdlet gets the replica creation method for a protection group. The replica creation method specifies when System Center 2012 – Data Protection Manager (DPM) initiates the creation of a replica.

You can change the replica creation method by using the Set-DPMReplicaCreationMethod cmdlet.

Parameters

-ProtectionGroup<ProtectionGroup>

Specifies a protection group for which this cmdlet gets the replica creation method. To obtain a ProtectionGroup object, use the Get-DPMProtectionGroup cmdlet.

Aliases

none

Required?

true

Position?

1

Default Value

none

Accept Pipeline Input?

true (ByValue)

Accept Wildcard Characters?

false

-Reserved

Specifies an internal parameter. Do not use.

Aliases

none

Required?

false

Position?

named

Default Value

none

Accept Pipeline Input?

false

Accept Wildcard Characters?

false

<CommonParameters>

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

Inputs

The input type is the type of the objects that you can pipe to the cmdlet.

Outputs

The output type is the type of the objects that the cmdlet emits.

  • ReplicaCreationMethod

Examples

Example 1: Get the replica creation method

The first command gets the protection group on the DPM server named DPMServer02, and then stores the group in the $PGroup variable.

The second command gets the replica creation method for the protection group in $PGroup.

PS C:\> $PGroup = Get-DPMProtectionGroup -DPMServerName "DPMServer02"
PS C:\> Get-DPMReplicaCreationMethod -ProtectionGroup $PGroup

Get-DPMProtectionGroup

Set-DPMReplicaCreationMethod