Share via


Get-DPMReplicaCreationMethod

Gets the replica creation method for a protection group.

Syntax

Default (Default)

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.

Parameter properties

Type:ProtectionGroup
Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

(All)
Position:1
Mandatory:True
Value from pipeline:True
Value from pipeline by property name:False
Value from remaining arguments:False

-Reserved

Specifies an internal parameter. Do not use.

Parameter properties

Type:SwitchParameter
Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

(All)
Position:Named
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

CommonParameters

This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutBuffer, -OutVariable, -PipelineVariable, -ProgressAction, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.

Outputs

ReplicaCreationMethod