Get-DPMProductionVirtualName
Gets the virtual names for a cluster.
Syntax
Default (Default)
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.
Parameter properties
Type: | SwitchParameter |
Default value: | None |
Supports wildcards: | False |
DontShow: | False |
Parameter sets
(All)
Position: | Named |
Mandatory: | False |
Value from pipeline: | False |
Value from pipeline by property name: | False |
Value from remaining arguments: | False |
-Handler
Specifies the event handler that the DPM calls when it receives an event.
Parameter properties
Type: | System.EventHandler`1[Microsoft.Internal.EnterpriseStorage.Dls.UI.ObjectModel.Inquiry.VNInquiryeventArgs] |
Default value: | None |
Supports wildcards: | False |
DontShow: | False |
Parameter sets
(All)
Position: | Named |
Mandatory: | False |
Value from pipeline: | False |
Value from pipeline by property name: | False |
Value from remaining arguments: | False |
-ProductionCluster
Specifies the name of a cluster of computers on which a DPM protection agent is installed.
Parameter properties
Type: | Cluster |
Default value: | None |
Supports wildcards: | False |
DontShow: | False |
Parameter sets
(All)
Position: | 1 |
Mandatory: | True |
Value from pipeline: | True |
Value from pipeline by property name: | False |
Value from remaining arguments: | 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.
Parameter properties
Type: | Object |
Default value: | None |
Supports wildcards: | False |
DontShow: | False |
Parameter sets
(All)
Position: | Named |
Mandatory: | False |
Value from pipeline: | False |
Value from pipeline by property name: | False |
Value from remaining arguments: | False |
CommonParameters
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutBuffer, -OutVariable, -PipelineVariable, -ProgressAction, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.