Remove-NlbCluster
Remove-NlbCluster
Deletes a Network Load Balancing (NLB) cluster.
Sintaxis
Parameter Set: NonPipeline
Remove-NlbCluster [[-HostName] <String> ] [[-InterfaceName] <String> ] [-Force] [-PassThru] [ <CommonParameters>]
Parameter Set: Pipeline
Remove-NlbCluster [[-HostName] <String> ] -InputObject <Cluster[]> [-Force] [-PassThru] [ <CommonParameters>]
Descripción detallada
The Remove-NlbCluster cmdlet deletes a Network Load Balancing (NLB) cluster. When the cluster is deleted, all existing connections to the hosts in the cluster will be lost and the cluster will no longer exist.
Parámetros
-Force
Runs the cmdlet without prompting for confirmation. By default the cmdlet will ask for confirmation from the user before proceeding.
Alias |
F |
¿Requerido? |
false |
¿Posición? |
named |
Valor predeterminado |
ninguno |
¿Aceptar canalización? |
false |
¿Aceptar caracteres comodín? |
false |
-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? |
1 |
Valor predeterminado |
ninguno |
¿Aceptar canalización? |
false |
¿Aceptar caracteres comodín? |
false |
-InputObject<Cluster[]>
Specifies the cluster to remove.
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? |
2 |
Valor predeterminado |
ninguno |
¿Aceptar canalización? |
false |
¿Aceptar caracteres comodín? |
false |
-PassThru
Sends items from the interactive window down the pipeline as input to other cmdlets. By default, this cmdlet does not generate any output.
To send items from the interactive window down the pipeline, click to select the items and then click OK. Shift-click and Ctrl-click are supported.
Alias |
Pass |
¿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.
- None or Microsoft.NetworkLoadBalancingClusters.PowerShell.Cluster
Ejemplos
EXAMPLE 1
This example removes the NLB cluster after asking for user confirmation.
PS C:\> Remove-NlbCluster
EXAMPLE 2
This example removes the NLB cluster without asking for user confirmation.
PS C:\> Remove-NlbCluster -Force