Examples/Resources/xADReplicationSite/1-CreateADReplicationSite_Config.ps1

<#PSScriptInfo
.VERSION 1.0
.GUID db6e6810-76eb-464f-9514-92bc91ec28de
.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 Active Directory replication site
        called 'Seattle'.
#>


Configuration CreateADReplicationSite_Config
{
    Import-DscResource -Module xActiveDirectory

    Node localhost
    {
        xADReplicationSite 'SeattleSite'
        {
            Ensure = 'Present'
            Name   = 'Seattle'
        }
    }
}