Get-DPMProductionVirtualName
Get-DPMProductionVirtualName
Gets the virtual names for a cluster.
Syntax
Parameter Set: Sync
Get-DPMProductionVirtualName [-ProductionCluster] <Cluster> [-Async] [-Handler <EventHandler<VNInquiryeventArgs>> ] [-Tag <Object> ] [ <CommonParameters>]
Detailed Description
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.
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<VNInquiryeventArgs>>
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 the 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.
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
Notes
- For more information, type "
Get-Help Get-DPMProductionVirtualName -detailed
".
Examples
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
Related topics
Get-ProductionCluster