218k views
0 votes
While logged on to a Windows Server 2016 computer that is part of an NLB cluster, which of the following PowerShell one-liners is the correct way to change or set the primary IP address of the cluster?

User Shadia
by
5.5k points

1 Answer

3 votes

Answer:

The powershell one liner is given as Get-NlbCluster | Set-NlbCluster -ClusterPrimary IP IPaddress

Step-by-step explanation:

So in this statement the arguments are as follows

Get-NlbCluster will get the attributes for the NLB cluster

Set-NlbCluster-ClusterPrimary will set the NLB cluster as the primary cluster.

IP is the definition word

IPaddress will give the address which is to be set or change.

User Re
by
4.6k points