Edit-DPMDiskAllocation

Edit-DPMDiskAllocation

Modifies disk allocation for a protected data source on a DPM server.

構文

Parameter Set: ConnectedDatasource
Edit-DPMDiskAllocation [-Datasource] <Datasource> [-ReplicaSize <Int64]> ] [-ShadowCopySize <Int64]> ] [-Confirm] [-WhatIf] [ <CommonParameters>]

Parameter Set: DisconnectedClient
Edit-DPMDiskAllocation [-Datasource] <Datasource> [-ExpectedDataSizePerClientInMB <Int64]> ] [-ShadowCopySize <Int64]> ] [-Confirm] [-WhatIf] [ <CommonParameters>]

詳細説明

The Edit-DPMDiskAllocation cmdlet modifies disk allocation on a System Center 2012 – Data Protection Manager (DPM) server for a protected data source.

パラメーター

-Datasource<Datasource>

Specifies a data source. A data source is a volume on a disk, a share, a folder, or a file, that belongs to a data protection group.

エイリアス

none

必須?

true

位置は?

1

既定値

none

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

true (ByValue)

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

false

-ExpectedDataSizePerClientInMB<Int64]>

Specifies a new value, in MB, for the expected size of data to be protected per client computer.

エイリアス

none

必須?

false

位置は?

named

既定値

none

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

false

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

false

-ReplicaSize<Int64]>

Specifies the new size of a replica volume, in bytes.

エイリアス

none

必須?

false

位置は?

named

既定値

none

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

false

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

false

-ShadowCopySize<Int64]>

Specifies the new size of a recovery point volume, in bytes.

エイリアス

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)。

入力

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

出力

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

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

Example 1: Modify the size of the replica and recovery point volumes

This example modifies the replica volume size to 5 GB and recovery point volume size to 3 GB.

The first command uses the Get-ProtectionGroup cmdlet to retrieve the protection group object, and stores the result in the $PGroup variable.

The second command uses the Get-Datasource cmdlet to retrieve all data source objects for the protection group stored in $PSGroup, and then stores the objects in the $DSource variable.

The last command uses the Edit-DPMDiskAllocation cmdlet to modify the size of the replica volume and the shadow copy volume for the second data source object stored in the $DSource array.

PS C:\> $PGroup = Get-ProtectionGroup -DPMServerName "Contoso-DPMServer"
PS C:\> $DSource = Get-Datasource -ProtectionGroup $PGroup
PS C:\> Edit-DPMDiskAllocation -Datasource $DSource[1] -ReplicaSize 5368709120 -ShadowCopySize 3221225472