Suspend-NlbCluster
Suspends all nodes of a NLB cluster.
Syntax
NonPipeline (Default)
Suspend-NlbCluster
[[-HostName] <String>]
[[-InterfaceName] <String>]
[<CommonParameters>]
Pipeline
Suspend-NlbCluster
-InputObject <Cluster[]>
[<CommonParameters>]
Description
The Suspend-NlbCluster cmdlet suspends all nodes of a Network Load Balancing (NLB) cluster. A cluster may need to be suspended to override any remote control cmdlets, or non-Windows PowerShell operations, that are issued and for maintenance work.
Examples
Example 1: Suspend all cluster nodes on the local cluster
PS C:\>Suspend-NlbCluster
Name IPAddress SubnetMask Mode
---- --------- ---------- ----
cluster1 3.53.100.100 255.0.0.0 UNICAST
This command suspends all cluster nodes 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 clusters that this cmdlet suspends.
Parameter properties
| Type: | Cluster[] |
| 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: | 1 |
| 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.