Get-DPMModifiableProtectionGroup

Get-DPMModifiableProtectionGroup

Retrieves a DPM protection group in an editable mode.

Syntax

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

Detailed Description

The Get-DPMModifiableProtectionGroup cmdlet retrieves a System Center 2012 – Data Protection Manager (DPM) protection group in an editable mode.

Once you have made the changes to the protection group, save the changes by using the Set-DPMProtectionGroup cmdlet.

Follow this sequence of steps when you work with a modifiable protection group:

-- Run the Get-DPMProtectionGroup cmdlet to get the unmodifiable protection group.
-- Run the Get-DPMModifiableProtectionGroup cmdlet to get the protection group from the previous step in modifiable form.
-- Perform actions on the protection group.
-- Run the Set-DPMProtectionGroup cmdlet to save the changed protection group.

Parameters

-ProtectionGroup<ProtectionGroup>

Specifies a protection group.

Aliases

none

Required?

true

Position?

1

Default Value

none

Accept Pipeline Input?

true (ByValue)

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.

  • ProtectionGroup (Editable)

Notes

  • For more information, type "Get-Help Get-DPMModifiableProtectionGroup -detailed".

Examples

Example 1: Get a protection group in a modifiable state

This example gets a DPM protection group in a modifiable state.

The first command gets the protection group from the DPM server named TestingServer and stores the protection group in the variable named $Pg.

The second command gets the protection group from the $Pg variable in a modifiable.

PS C:\> $Pg = Get-DPMProtectionGroup -DPMServerName "DPMServer07"
PS C:\> Get-DPMModifiableProtectionGroup -ProtectionGroup $Pg

Get-DPMModifiableProtectionGroup

Set-DPMProtectionGroup

Get-DPMProtectionGroup