Final answer:
To edit an NLB cluster configuration in PowerShell, use the Set-NlbCluster cmdlet, which allows for a range of adjustments including cluster mode and port rules.
Step-by-step explanation:
The PowerShell cmdlet used to edit the configuration of an NLB (Network Load Balancing) cluster is Set-NlbCluster. When working with NLB clusters, it is essential to understand that these clusters help distribute traffic across several servers to ensure that no single server becomes a point of failure and enhances the availability of applications and services. The Set-NlbCluster cmdlet allows for various configurations, including setting the cluster mode, adjusting the port rules, and changing other settings that are vital for the cluster's operation. For example, to change the operation mode, you might use Set-NlbCluster -ClusterMode Multicast, or to modify a port rule, you might use Set-NlbClusterPortRule along with the necessary parameters