Compartilhar via


Suspend-NlbClusterNode

Suspend-NlbClusterNode

Suspends a specific node in a Network Load Balancing (NLB) cluster.

Syntax

Parameter Set: NonPipeline
Suspend-NlbClusterNode [[-HostName] <String> ] [-InterfaceName <String> ] [ <CommonParameters>]

Parameter Set: Pipeline
Suspend-NlbClusterNode -InputObject <Node> [ <CommonParameters>]

Detailed Description

The Suspend-NlbClusterNode cmdlet suspends a specific node in a Network Load Balancing (NLB) cluster. A node in a cluster may need to be suspended to override any remote control cmdlets, or non-Windows PowerShell® operations, that are issued or for maintenance work.

Parameters

-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.

Aliases

hn

Required?

false

Position?

1

Default Value

none

Accept Pipeline Input?

false

Accept Wildcard Characters?

false

-InputObject<Node>

Specifies the cluster node to suspend.

Aliases

none

Required?

true

Position?

named

Default Value

none

Accept Pipeline Input?

true (ByValue, ByPropertyName)

Accept Wildcard Characters?

false

-InterfaceName<String>

Specifies the interface to which NLB is bound. This is the interface of the cluster against which this cmdlet is run.

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.

  • Microsoft.NetworkLoadBalancingClusters.PowerShell.Node

Outputs

The output type is the type of the objects that the cmdlet emits.

  • Microsoft.NetworkLoadBalancingClusters.PowerShell.Node

Examples

EXAMPLE 1

This example suspends cluster node named node2 on the local cluster.

PS C:\> Suspend-NlbClusterNode -InputObject node2

Add-NlbClusterNode

Get-NlbClusterNode

Remove-NlbClusterNode

Resume-NlbClusterNode

Set-NlbClusterNode

Start-NlbClusterNode

Stop-NlbClusterNode

Suspend-NlbCluster