Examples/Resources/xADReplicationSiteLInk/1-CreateReplicationSiteLink_Config.ps1
<#PSScriptInfo
.VERSION 1.0 .GUID c3f14177-bf96-4296-aa1c-4a9f08c8e34e .AUTHOR Microsoft Corporation .COMPANYNAME Microsoft Corporation .COPYRIGHT (c) Microsoft Corporation. All rights reserved. .TAGS DSCConfiguration .LICENSEURI https://github.com/PowerShell/xActiveDirectory/blob/master/LICENSE .PROJECTURI https://github.com/PowerShell/xActiveDirectory .ICONURI .EXTERNALMODULEDEPENDENCIES .REQUIREDSCRIPTS .EXTERNALSCRIPTDEPENDENCIES .RELEASENOTES .PRIVATEDATA #> #Requires -module xActiveDirectory <# .DESCRIPTION This configuration will create an AD Replication Site Link. #> Configuration CreateReplicationSiteLink_Config { Import-DscResource -Module xActiveDirectory Node localhost { xADReplicationSiteLink 'HQSiteLink' { Name = 'HQSiteLInk' SitesIncluded = @('site1', 'site2') Cost = 100 ReplicationFrequencyInMinutes = 15 Ensure = 'Present' } } } |