Get-NlbClusterVip
Get-NlbClusterVip
Retrieves virtual IP addresses that are queried by the caller.
Sintaxis
Parameter Set: NonPipeline
Get-NlbClusterVip [[-IP] <IPAddress> ] [-HostName <String> ] [-InterfaceName <String> ] [ <CommonParameters>]
Parameter Set: Pipeline
Get-NlbClusterVip [[-IP] <IPAddress> ] -InputObject <Cluster[]> [ <CommonParameters>]
Descripción detallada
The Get-NlbClusterVIP cmdlet retrieves the virtual IP addresses that are queried by the caller. This IP address is used to address the cluster as a whole, and is the IP address that maps to the full Internet name that you specify for the Network Load Balancing (NLB) cluster.
Parámetros
-HostName<String>
Specifies the name of the cluster host against which this cmdlet is run. If this parameter is omitted or a value of .
is entered, then the local cluster is assumed.
Alias |
Host,HN,H |
¿Requerido? |
false |
¿Posición? |
named |
Valor predeterminado |
ninguno |
¿Aceptar canalización? |
false |
¿Aceptar caracteres comodín? |
false |
-IP<IPAddress>
Specifies the IP address of the cluster for which the virtual IP address is enumerated.
Alias |
ninguno |
¿Requerido? |
false |
¿Posición? |
1 |
Valor predeterminado |
ninguno |
¿Aceptar canalización? |
false |
¿Aceptar caracteres comodín? |
false |
-InputObject<Cluster[]>
Specifies the cluster for which the virtual IP address is enumerated.
Alias |
ninguno |
¿Requerido? |
true |
¿Posición? |
named |
Valor predeterminado |
ninguno |
¿Aceptar canalización? |
True (ByValue, ByPropertyName) |
¿Aceptar caracteres comodín? |
false |
-InterfaceName<String>
Specifies the interface to which NLB is bound. This is the interface of the cluster against which this cmdlet is run.
Alias |
Interface,IN,I |
¿Requerido? |
false |
¿Posición? |
named |
Valor predeterminado |
ninguno |
¿Aceptar canalización? |
false |
¿Aceptar caracteres comodín? |
false |
<CommonParameters>
Este cmdlet admite los siguientes parámetros comunes: -Verbose, -Debug, -ErrorAction, -ErrorVariable, -OutBuffer y -OutVariable. Para obtener más información, consulte about_CommonParameters (https://go.microsoft.com/fwlink/p/?LinkID=113216).
Entradas
El tipo de entrada es el tipo de los objetos que se pueden canalizar al cmdlet.
- Microsoft.NetworkLoadBalancingClusters.PowerShell.Cluster
Salidas
El tipo de resultado es el tipo de objetos que emite el cmdlet.
- Microsoft.NetworkLoadBalancingClusters.PowerShell.ClusterVip
Ejemplos
EXAMPLE 1
This example lists all the virtual IP addresses on the local cluster.
PS C:\> Get-NlbClusterVip
EXAMPLE 2
This example gets the specified virtual IP addresses on the local cluster.
PS C:\> Get-NlbClusterVip -IP fe80::a20f:cca:4cd2:7ea0