Created
November 16, 2017 17:34
-
-
Save CoditCompany/10376b0ea2bcb201e7588055f11d34dd to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Import-Module FailoverClusters | |
| $ClusterNetworkName = 'Cluster Network 1' | |
| $IPResourceName = 'IP Address 10.2.1.10' | |
| $ILBIP = '10.2.1.10' | |
| [int]$ProbePort = 60005 | |
| Get-ClusterResource $IPResourceName | Set-ClusterParameter -Multiple @{"Address"="$ILBIP";"ProbePort"=$ProbePort;"SubnetMask"="255.255.255.255";"Network"="$ClusterNetworkName";"EnableDhcp"=0} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment