-
Notifications
You must be signed in to change notification settings - Fork 141
/
about_ADReplicationSiteLink.help.txt
115 lines (90 loc) · 3.58 KB
/
about_ADReplicationSiteLink.help.txt
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
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
.NAME
ADReplicationSiteLink
.DESCRIPTION
The ADReplicationSiteLink DSC resource will manage Replication Site Links within Active Directory. A site link connects two or more sites. Site links reflect the administrative policy for how sites are to be interconnected and the methods used to transfer replication traffic. You must connect sites with site links so that domain controllers at each site can replicate Active Directory changes.
## Requirements
* Target machine must be running Windows Server 2008 R2 or later.
.PARAMETER Name
Key - String
Specifies the name of the site link.
.PARAMETER Cost
Write - SInt32
Specifies the cost to be placed on the site link.
.PARAMETER Description
Write - String
This parameter sets the value of the Description property for the object.
.PARAMETER ReplicationFrequencyInMinutes
Write - Sint32
Species the frequency (in minutes) for which replication will occur where this site link is in use between sites.
.PARAMETER SitesIncluded
Write - String
Specifies the list of sites included in the site link.
.PARAMETER SitesExcluded
Write - String
Specifies the list of sites to exclude from the site link.
.PARAMETER OptionChangeNotification
Enables or disables Change Notification Replication on a site link. Default value is $false.
.PARAMETER OptionTwoWaySync
Two Way Sync on a site link. Default value is $false.
.PARAMETER OptionDisableCompression
Enables or disables Compression on a site link. Default value is $false.
.PARAMETER Ensure
Write - String
Allowed values: Present, Absent
Specifies if the site link should be present or absent. Default value is 'Present'.
.EXAMPLE 1
This configuration will create an AD Replication Site Link.
Configuration ADReplicationSiteLink_CreateReplicationSiteLink_Config
{
Import-DscResource -Module ActiveDirectoryDsc
Node localhost
{
ADReplicationSiteLink 'HQSiteLink'
{
Name = 'HQSiteLInk'
SitesIncluded = @('site1', 'site2')
Cost = 100
ReplicationFrequencyInMinutes = 15
Ensure = 'Present'
}
}
}
.EXAMPLE 2
This configuration will modify an existing AD Replication Site Link.
Configuration ADReplicationSiteLink_ModifyExistingReplicationSiteLink_Config
{
Import-DscResource -Module ActiveDirectoryDsc
Node localhost
{
ADReplicationSiteLink 'HQSiteLink'
{
Name = 'HQSiteLInk'
SitesIncluded = 'site1'
SitesExcluded = 'site2'
Cost = 100
ReplicationFrequencyInMinutes = 20
Ensure = 'Present'
}
}
}
.EXAMPLE 3
This configuration will modify an existing AD Replication Site Link.
Configuration ADReplicationSiteLink_EnableReplicationSiteLinkOptions_Config
{
Import-DscResource -Module ActiveDirectoryDsc
Node localhost
{
ADReplicationSiteLink 'HQSiteLink'
{
Name = 'HQSiteLInk'
SitesIncluded = 'site1'
SitesExcluded = 'site2'
Cost = 100
ReplicationFrequencyInMinutes = 20
OptionChangeNotification = $true
OptionTwoWaySync = $true
OptionDisableCompression = $true
Ensure = 'Present'
}
}
}