Edit

Share via


Suspend-NlbClusterNode

Suspends a specific node in a NLB cluster.

Syntax

NonPipeline (Default)

Suspend-NlbClusterNode
    [[-HostName] <String>]
    [-InterfaceName <String>]
    [<CommonParameters>]

Pipeline

Suspend-NlbClusterNode
    -InputObject <Node[]>
    [<CommonParameters>]

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.

Examples

Example 1: Suspend a cluster node on the local cluster

PS C:\>Suspend-NlbClusterNode -InputObject "Node02"
Name                State               Interface           HostID
----                -----               ---------           ------
Node02              Suspended           vlan-3              2

This command suspends cluster node named Node02 on the local cluster.

Parameters

-HostName

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.

Parameter properties

Type:String
Default value:None
Supports wildcards:False
DontShow:False
Aliases:Host, HN, H

Parameter sets

NonPipeline
Position:0
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

-InputObject

Specifies an array of cluster nodes that this cmdlet suspends.

Parameter properties

Type:

Node[]

Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

Pipeline
Position:Named
Mandatory:True
Value from pipeline:True
Value from pipeline by property name:True
Value from remaining arguments:False

-InterfaceName

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

Parameter properties

Type:String
Default value:None
Supports wildcards:False
DontShow:False
Aliases:Interface, IN, I

Parameter sets

NonPipeline
Position:Named
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

CommonParameters

This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutBuffer, -OutVariable, -PipelineVariable, -ProgressAction, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.

Inputs

Microsoft.NetworkLoadBalancingClusters.PowerShell.Node

Outputs

Microsoft.NetworkLoadBalancingClusters.PowerShell.Node