Get-DPMReplicaCreationMethod

Gets the replica creation method for a protection group.

Syntax

Get-DPMReplicaCreationMethod
   [-ProtectionGroup] <ProtectionGroup>
   [-Reserved]
   [<CommonParameters>]

Description

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

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

Examples

Example 1: Get the replica creation method

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

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.

Parameters

-ProtectionGroup

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

Type:ProtectionGroup
Position:1
Default value:None
Required:True
Accept pipeline input:True
Accept wildcard characters:False

-Reserved

Specifies an internal parameter. Do not use.

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

Outputs

ReplicaCreationMethod