Get-DPMProductionVirtualName

Get-DPMProductionVirtualName

Gets the virtual names for a cluster.

Syntax

Parameter Set: Sync
Get-DPMProductionVirtualName [-ProductionCluster] <Cluster> [-Async] [-Handler <EventHandler`1> ] [-Tag <Object> ] [ <CommonParameters>]

Detailed Description

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

Parameters

-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.

Aliases

none

Required?

false

Position?

named

Default Value

none

Accept Pipeline Input?

false

Accept Wildcard Characters?

false

-Handler<EventHandler`1>

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

Aliases

none

Required?

false

Position?

named

Default Value

none

Accept Pipeline Input?

false

Accept Wildcard Characters?

false

-ProductionCluster<Cluster>

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

Aliases

none

Required?

true

Position?

1

Default Value

none

Accept Pipeline Input?

true (ByValue)

Accept Wildcard Characters?

false

-Tag<Object>

Specifies a custom property that distinguishes the replies to each asynchronous call. You can use parameter if you build a graphical user interface by using cmdlets. Do not use this parameter if you work with the DPM Management Shell.

Aliases

none

Required?

false

Position?

named

Default Value

none

Accept Pipeline Input?

false

Accept Wildcard Characters?

false

<CommonParameters>

This cmdlet supports the common parameters: -Verbose, -Debug, -ErrorAction, -ErrorVariable, -OutBuffer, and -OutVariable. For more information, see    about_CommonParameters (https://go.microsoft.com/fwlink/p/?LinkID=113216).

Inputs

The input type is the type of the objects that you can pipe to the cmdlet.

Outputs

The output type is the type of the objects that the cmdlet emits.

  • VirtualName

Examples

Example 1: Get the virtual names for a cluster

The first command gets the clusters that the DPM named DPMServer02 manages. The command stores the result in the $PCluster variable.

The second command gets the virtual name of the clusters in $PCluster.

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

Get-DPMProductionCluster

Get-DPMProductionServer