Set-DPMProtectionGroup

Set-DPMProtectionGroup

Saves all the actions performed on the protection group on the DPM server.

構文

Parameter Set: Default
Set-DPMProtectionGroup [-ProtectionGroup] <ProtectionGroup> [-Async] [-TranslateDSList <Datasource[]> ] [-Confirm] [-WhatIf] [ <CommonParameters>]

詳細説明

The Set-DPMProtectionGroup cmdlet saves all the actions that you performed on the protection group on the System Center 2012 – Data Protection Manager (DPM) server.

Until you run the Set-DPMProtectionGroup cmdlet, the actions that you take on a modifiable protection group or a new protection group exist only in the memory. For example, when you create a protection group, use this cmdlet as the final step in the process.

Use the following sequence of steps to modify a protection group:

-- 1. Get-DPMProtectionGroup
-- 2. Get-DPMModifiableProtectionGroup
-- 3. Perform actions on the protection group
-- 4. Set-DPMProtectionGroup

パラメーター

-Async

Indicates that the command runs asynchronously. When you run a command asynchronously, the command prompt returns immediately even if the job takes an extended time to finish.

エイリアス

none

必須?

false

位置は?

named

既定値

none

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

false

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

false

-ProtectionGroup<ProtectionGroup>

Specifies a ProtectionGroup object. To obtain a ProtectionGroup object, use the Get-DPMProtectionGroup cmdlet.

エイリアス

none

必須?

true

位置は?

1

既定値

none

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

true (ByValue)

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

false

-TranslateDSList<Datasource[]>

Specifies an array of data sources. The translation of the data sources that you specify is forced. This helps to regenerate jobs.

エイリアス

none

必須?

false

位置は?

named

既定値

none

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

false

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

false

-Confirm

コマンドレットを実行する前に、ユーザーに確認を求めます。

必須?

false

位置は?

named

既定値

false

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

false

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

false

-WhatIf

コマンドレットを実行するとどのような結果になるかを表示します。コマンドレットは実行されません。

必須?

false

位置は?

named

既定値

false

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

false

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

false

<CommonParameters>

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

入力

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

出力

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

  • ProtectionGroup

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

Example 1: Save a protection group

This example saves a protection group on the DPM server.

The first command gets the protection group on the DPM server named DPMServer02 and stores the results in the $Pg variable.

The second command saves the protection group stored in the $Pg variable.

PS C:\> $Pg = Get-DPMProtectionGroup -DPMServerName "DPMServer02"
PS C:\> Set-DPMProtectionGroup -ProtectionGroup $Pg

関連トピック

Update-DPMProtectionGroup

Get-DPMProtectionGroup

Rename-DPMProtectionGroup

New-DPMProtectionGroup

Rename-DPMProtectionGroup