Get-DPMProductionVirtualName

Get-DPMProductionVirtualName

Gets the virtual names for a cluster.

構文

Parameter Set: Sync
Get-DPMProductionVirtualName [-ProductionCluster] <Cluster> [-Async] [-Handler <0, Culture=neutral, PublicKeyToken=31bf3856ad364e35]]> ] [-Tag <Object> ] [ <CommonParameters>]

詳細説明

The Get-DPMProductionVirtualName cmdlet gets the virtual names for a cluster on which the System Center 2012 – Data Protection Manager (DPM) protection agent is installed.

パラメーター

-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

-Handler<0, Culture=neutral, PublicKeyToken=31bf3856ad364e35]]>

Specifies the event handler that the DPM calls when it receives an event.

エイリアス

none

必須?

false

位置は?

named

既定値

none

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

false

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

false

-ProductionCluster<Cluster>

Specifies the name of a cluster of computers on which the DPM protection agent is installed.

エイリアス

none

必須?

true

位置は?

1

既定値

none

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

true (ByValue)

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

false

-Tag<Object>

Specifies a custom property that distinguishes the replies to each asynchronous call.

エイリアス

none

必須?

false

位置は?

named

既定値

none

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

false

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

false

<CommonParameters>

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

入力

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

出力

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

  • VirtualName

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

Example 1: Get the virtual names for a cluster

This example gets the virtual names for a cluster that is protected by DPM.

The first command gets the list of all clusters that are protected by the DPM named DPMServer02. The command stores the result in the $Pc variable.

The second command gets the virtual name of the clusters stored in the $Pc variable.

PS C:\> $Pc = Get-DPMProductionCluster -DPMServerName "DPMServer02"
PS C:\> Get-DPMProductionVirtualName -ProductionCluster $Pc

関連トピック

Get-DPMProductionCluster

Get-DPMProductionServer