Get-VMNetworkAdapterRoutingDomainMapping
Get-VMNetworkAdapterRoutingDomainMapping
Gets members of a routing domain.
Syntaxe
Parameter Set: VMName
Get-VMNetworkAdapterRoutingDomainMapping [[-VMName] <String[]> ] [-ComputerName <String[]> ] [-RoutingDomainID <String> ] [-RoutingDomainName <String> ] [-VMNetworkAdapterName <String> ] [ <CommonParameters>]
Parameter Set: ManagementOS
Get-VMNetworkAdapterRoutingDomainMapping -ManagementOS [-ComputerName <String[]> ] [-RoutingDomainID <String> ] [-RoutingDomainName <String> ] [-VMNetworkAdapterName <String> ] [ <CommonParameters>]
Parameter Set: ResourceObject
Get-VMNetworkAdapterRoutingDomainMapping [-VMNetworkAdapter] <VMNetworkAdapterBase[]> [-RoutingDomainID <String> ] [-RoutingDomainName <String> ] [ <CommonParameters>]
Parameter Set: VMObject
Get-VMNetworkAdapterRoutingDomainMapping [-VM] <VirtualMachine[]> [-RoutingDomainID <String> ] [-RoutingDomainName <String> ] [-VMNetworkAdapterName <String> ] [ <CommonParameters>]
Parameter Set: VMSnapshot
Get-VMNetworkAdapterRoutingDomainMapping [-VMSnapshot] <VMSnapshot> [-RoutingDomainID <String> ] [-RoutingDomainName <String> ] [ <CommonParameters>]
Description détaillée
The Get-VmNetworkAdapterRoutingDomainMapping cmdlet gets members of a routing domain.
Paramètres
-ComputerName<String[]>
Specifies an array of Hyper-V hosts. The cmdlet gets the members of a routing domain on the Hyper-V hosts that you specify.
Alias |
none |
Obligatoire ? |
false |
Position ? |
named |
Valeur par défaut |
none |
Accepter l’entrée de pipeline ? |
false |
Accepter les caractères génériques ? |
false |
-ManagementOS
Indicates that the cmdlet operates on the parent partition or host operating system.
Alias |
none |
Obligatoire ? |
true |
Position ? |
named |
Valeur par défaut |
none |
Accepter l’entrée de pipeline ? |
false |
Accepter les caractères génériques ? |
false |
-RoutingDomainID<String>
Specifies the ID of a routing domain. The ID of a routing domain is a system-assigned GUID. The cmdlet gets the members of the routing domain that you specify.
Alias |
none |
Obligatoire ? |
false |
Position ? |
named |
Valeur par défaut |
none |
Accepter l’entrée de pipeline ? |
false |
Accepter les caractères génériques ? |
false |
-RoutingDomainName<String>
Specifies the name of a routing domain. The cmdlet gets the members of the routing domain that you specify.
Alias |
none |
Obligatoire ? |
false |
Position ? |
named |
Valeur par défaut |
none |
Accepter l’entrée de pipeline ? |
false |
Accepter les caractères génériques ? |
false |
-VM<VirtualMachine[]>
Specifies an array of virtual machine objects. The cmdlet gets the members of the routing domain from the network interfaces that belong to the virtual machines that you specify. To obtain a virtual machine object, use the Get-VM cmdlet.
Alias |
none |
Obligatoire ? |
true |
Position ? |
1 |
Valeur par défaut |
none |
Accepter l’entrée de pipeline ? |
True (ByValue) |
Accepter les caractères génériques ? |
false |
-VMName<String[]>
Specifies an array of friendly names of virtual machines. The cmdlet gets the members of the routing domain from the network interfaces that belong to the virtual machines that you specify.
Alias |
none |
Obligatoire ? |
false |
Position ? |
1 |
Valeur par défaut |
none |
Accepter l’entrée de pipeline ? |
True (ByValue) |
Accepter les caractères génériques ? |
false |
-VMNetworkAdapter<VMNetworkAdapterBase[]>
Specifies an array of virtual network adapters as a VMNetworkAdapterBase object. The cmdlet gets the members of the routing domain on the adapters that you specify. To obtain a network adapter, use the Get-VMNetworkAdapter cmdlet.
Alias |
none |
Obligatoire ? |
true |
Position ? |
1 |
Valeur par défaut |
none |
Accepter l’entrée de pipeline ? |
True (ByValue) |
Accepter les caractères génériques ? |
false |
-VMNetworkAdapterName<String>
Specifies the name of a virtual network adapter. The cmdlet gets the members of the routing domain on the adapter that you specify.
Alias |
none |
Obligatoire ? |
false |
Position ? |
named |
Valeur par défaut |
none |
Accepter l’entrée de pipeline ? |
false |
Accepter les caractères génériques ? |
false |
-VMSnapshot<VMSnapshot>
Specifies a snapshot as a VMSnapshot object. The cmdlet gets the members of the routing domain for network adapters that belong to the snapshot that you specify. To obtain a snapshot object, use the Get-VMSnapshot cmdlet.
Alias |
none |
Obligatoire ? |
true |
Position ? |
1 |
Valeur par défaut |
none |
Accepter l’entrée de pipeline ? |
True (ByValue) |
Accepter les caractères génériques ? |
false |
<CommonParameters>
Cette applet de commande prend en charge les paramètres courants : -Verbose, -Debug, -ErrorAction, -ErrorVariable, -OutBuffer et -OutVariable. Pour plus d’informations, consultez about_CommonParameters (https://go.microsoft.com/fwlink/p/?LinkID=113216).
Entrées
Le type d’entrée correspond au type des objets que vous pouvez transmettre à l’applet de commande.
Sorties
Le type de sortie est le type des objets émis par l’applet de commande.
Exemples
Example 1: Get members of a routing domain
This command gets the members of the routing domain from the network adapter named Internal NIC that belongs to the virtual machine named Gateway01.
PS C:\> Get-VMNetworkAdapterRoutingDomainMapping -VMName "Gateway01" -VMNetworkAdapterName "Internal NIC"
Rubriques connexes
Add-VmNetworkAdapterRoutingDomainMapping