Add-DPMDisk

Add-DPMDisk

Adds a disk to a storage pool on a DPM server.

構文

Parameter Set: Default
Add-DPMDisk [-DPMDisk] <Disk[]> [-Confirm] [-WhatIf] [ <CommonParameters>]

詳細説明

The Add-DPMDisk cmdlet adds a disk to a storage pool on a System Center 2012 – Data Protection Manager (DPM) server. A storage pool on a DPM server consists of a set of disks where the server stores replicas, shadow copies, and transfer logs for protected data sources.

To get a list of all disks on a DPM server, use the Get-DPMDisk cmdlet.

パラメーター

-DPMDisk<Disk[]>

Specifies an array of one or more disks.

エイリアス

none

必須?

true

位置は?

1

既定値

none

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

true (ByValue)

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

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

入力

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

出力

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

  • Disk

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

Example 1: Add a disk to a DPM server

This example adds a disk to a DPM server.

The first command uses the Get-DPMDisk cmdlet to retrieve a list of disks on a server, and stores the result in the $DPMDisk variable.

The second command uses the Add-DPMDisk cmdlet to add the disks in the variable $DPMDisk to the server storage pool.

PS C:\> $DPMDisk = Get-DPMDisk -DPMServerName "Contoso-DPMServer"
PS C:\> Add-DPMDisk -DPMDisk $DPMDisk

関連トピック

Get-DPMDisk

Remove-DPMDisk