Get-DPMModifiableProtectionGroup

Get-DPMModifiableProtectionGroup

Retrieves a DPM protection group in an editable mode.

構文

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

詳細説明

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.

パラメーター

-ProtectionGroup<ProtectionGroup>

Specifies a protection group.

エイリアス

none

必須?

true

位置は?

1

既定値

none

パイプライン入力を許可する

true (ByValue)

ワイルドカード文字を許可する

false

<CommonParameters>

このコマンドレットは次の共通パラメーターをサポートします。-Verbose、-Debug、-ErrorAction、-ErrorVariable、-OutBuffer、-OutVariable.詳細については、以下を参照してください。 about_CommonParameters (https://go.microsoft.com/fwlink/p/?LinkID=113216)。

入力

入力型は、コマンドレットにパイプできるオブジェクトの型です。

出力

出力型は、コマンドレットによって生成されるオブジェクトの型です。

  • ProtectionGroup (Editable)

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

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