New-DPMPGSet

New-DPMPGSet

Creates a DPM PG set.

構文

Parameter Set: Default
New-DPMPGSet [[-DPMServerName] <String> ] [-Name] <String> [[-PGList] <ProtectionGroup[]> ] [[-WritePeriodUnit] <PGSet+TimeUnit> {Invalid | Day | Week | Month | Year} ] [[-WritePeriodValue] <UInt32> ] [[-ExpiryToleranceUnit] <PGSet+TimeUnit> {Invalid | Day | Week | Month | Year} ] [[-ExpiryToleranceValue] <UInt32> ] [-AllowDifferentRetentionPeriods] [ <CommonParameters>]

詳細説明

The New-DPMPGSet cmdlet creates a new System Center 2012 – Data Protection Manager (DPM) protection group (PG) set. A DPM PG is a collection of protection groups that you collocate on the same tape.

パラメーター

-AllowDifferentRetentionPeriods

Indicates that protection groups with different retention periods can be part of the same PG set.

エイリアス

none

必須?

false

位置は?

named

既定値

none

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

false

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

false

-DPMServerName<String>

Specifies the name of a DPM server.

エイリアス

none

必須?

false

位置は?

1

既定値

none

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

false

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

false

-ExpiryToleranceUnit<PGSet+TimeUnit>

Specifies the measurement unit for expiry tolerance.

エイリアス

none

必須?

false

位置は?

6

既定値

none

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

false

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

false

-ExpiryToleranceValue<UInt32>

Specifies the maximum length of time for which an expired recovery point can remain on a tape until DPM marks the tape as expired.

エイリアス

none

必須?

false

位置は?

7

既定値

none

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

false

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

false

-Name<String>

Specifies the name of the PG set.

エイリアス

none

必須?

true

位置は?

2

既定値

none

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

false

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

false

-PGList<ProtectionGroup[]>

Specifies an array of protection groups to add to the PG set.

エイリアス

none

必須?

false

位置は?

3

既定値

none

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

True (ByValue)

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

false

-WritePeriodUnit<PGSet+TimeUnit>

Specifies the measurement unit for the write period.

エイリアス

none

必須?

false

位置は?

4

既定値

none

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

false

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

false

-WritePeriodValue<UInt32>

Specifies the length of time for which a tape is available for writing new backups. DPM marks the tape as offsite ready after this interval.

エイリアス

none

必須?

false

位置は?

5

既定値

none

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

false

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

false

<CommonParameters>

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

入力

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

出力

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

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

Example 1: Create a PG set

This example creates a protection group set named PGSET2 on the specified DPM server.

The first command uses the Get-DPMProtectionGroup cmdlet to get PGs that have names that contain either PG1 or PG2, and then stores them in the $PgList variable.

The second command creates a PS set named PGSET2 that contains the PGs stored in the $PgList variable.

PS C:\> $PgList = Get-DPMProtectionGroup -DPMServerName "DPMServer07" | where {($_.friendlyname) –match "PG1" -or ($_.friendlyname) -match "PG2"} 
PS C:\> New-DPMPGSet -Name "PGSET2" -PGList $PgList

関連トピック

Get-DPMPGSet

Remove-DPMPGSet

Update-DPMPGSet

Get-DPMProtectionGroup