Suspend-​Nlb​Cluster​Node

Suspends a specific node in a NLB cluster.

Syntax

Suspend-NlbClusterNode
       [[-HostName] <String>]
       [-InterfaceName <String>]
       [<CommonParameters>]
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.

Required Parameters

-InputObject

Specifies an array of cluster nodes that this cmdlet suspends.

Type:Node[]
Position:Named
Default value:None
Accept pipeline input:True (ByPropertyName, ByValue)
Accept wildcard characters:False

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

Type:String
Aliases:Host, HN, H
Position:0
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-InterfaceName

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

Type:String
Aliases:Interface, IN, I
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False

Inputs

Microsoft.NetworkLoadBalancingClusters.PowerShell.Node

Outputs

Microsoft.NetworkLoadBalancingClusters.PowerShell.Node