Suspend-NlbCluster
Suspends all nodes of a NLB cluster.
Syntax
Suspend-NlbCluster
[[-HostName] <String>]
[[-InterfaceName] <String>]
[<CommonParameters>]
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.
Type: | String |
Aliases: | Host, HN, H |
Position: | 0 |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-InputObject
Specifies an array of clusters that this cmdlet suspends.
Type: | Cluster[] |
Position: | Named |
Default value: | None |
Required: | True |
Accept pipeline input: | True |
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: | 1 |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
Inputs
Microsoft.NetworkLoadBalancingClusters.PowerShell.Cluster
Outputs
Microsoft.NetworkLoadBalancingClusters.PowerShell.Cluster