Get-DPMProductionVirtualName

Gets the virtual names for a cluster.

Syntax

Get-DPMProductionVirtualName
   [-ProductionCluster] <Cluster>
   [-Async]
   [-Tag <Object>]
   [-Handler <System.EventHandler`1[Microsoft.Internal.EnterpriseStorage.Dls.UI.ObjectModel.Inquiry.VNInquiryeventArgs]>]
   [<CommonParameters>]

Description

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

Examples

Example 1: Get the virtual names for a cluster

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

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.

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.

Type:SwitchParameter
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-Handler

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

Type:System.EventHandler`1[Microsoft.Internal.EnterpriseStorage.Dls.UI.ObjectModel.Inquiry.VNInquiryeventArgs]
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-ProductionCluster

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

Type:Cluster
Position:1
Default value:None
Required:True
Accept pipeline input:True
Accept wildcard characters:False

-Tag

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.

Type:Object
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

Outputs

VirtualName