You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
if ($PSBoundParameters.ContainsKey('ReplicationFrequencyInMinutes') -and
A cursory glance through the code seems to indicate that the specified line contains a reference to the wrong key.
"if ($PSBoundParameters.ContainsKey('ReplicationFrequencyInMinutes') -and"
should probably be
"if ($PSBoundParameters.ContainsKey('OptionChangeNotification') -and"
Every site link option contains the same check for the presence of the ReplicationFrequencyInMinutes key. I'm not sure if this is the intention, but it seems that if the replication frequency isn't also defined, the site link options remain the current values.
The text was updated successfully, but these errors were encountered:
…ute not set (#699)
- ADReplicationSiteLink
- Allow OptionChangeNotification, OptionTwoWaySync and OptionDisableCompression
to be updated even if ReplicationFrequencyInMinutes is not set (issue #637).
ActiveDirectoryDsc/source/DSCResources/MSFT_ADReplicationSiteLink/MSFT_ADReplicationSiteLink.psm1
Line 290 in 87b1308
A cursory glance through the code seems to indicate that the specified line contains a reference to the wrong key.
"if ($PSBoundParameters.ContainsKey('ReplicationFrequencyInMinutes') -and"
should probably be
"if ($PSBoundParameters.ContainsKey('OptionChangeNotification') -and"
Every site link option contains the same check for the presence of the ReplicationFrequencyInMinutes key. I'm not sure if this is the intention, but it seems that if the replication frequency isn't also defined, the site link options remain the current values.
The text was updated successfully, but these errors were encountered: