Get-DPMReplicaCreationMethod
Gets the replica creation method for a protection group.
Parameter Set: Default
Get-DPMReplicaCreationMethod [-ProtectionGroup] <ProtectionGroup> [-Reserved] [ <CommonParameters>]
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.
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 |
Specifies an internal parameter. Do not use.
Aliases |
none |
Required? |
false |
Position? |
named |
Default Value |
none |
Accept Pipeline Input? |
false |
Accept Wildcard Characters? |
false |
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).
The input type is the type of the objects that you can pipe to the cmdlet.
The output type is the type of the objects that the cmdlet emits.
- ReplicaCreationMethod
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