forked from dsccommunity/FailoverClusterDsc
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path1-ChangeClusterNetwork.ps1
More file actions
33 lines (29 loc) · 824 Bytes
/
1-ChangeClusterNetwork.ps1
File metadata and controls
33 lines (29 loc) · 824 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
<#
.EXAMPLE
This example shows how to change the properties Name, Role and Metric of two
failover cluster network resources in the failover cluster.
This example assumes the failover cluster is already present.
#>
Configuration Example
{
Import-DscResource -ModuleName xFailOverCluster
Node localhost
{
xClusterNetwork 'ChangeNetwork-10'
{
Address = '10.0.0.0'
AddressMask = '255.255.255.0'
Name = 'Client1'
Role = '3'
Metric = '10'
}
xClusterNetwork 'ChangeNetwork-192'
{
Address = '192.168.0.0'
AddressMask = '255.255.255.0'
Name = 'Heartbeat'
Role = '1'
Metric = '200'
}
}
}