dsc/ext/PsGallery/xNetworking.3.2.0.0/Examples/Resources/xDnsClientGlobalSetting/1-ConfigureSuffixSearchList.ps1

<#
    .EXAMPLE
    Configure only contoso.com for the DNS Suffix
#>

configuration Example
{
    param
    (
        [string[]] $NodeName = 'localhost'
    )

    Import-DscResource -Module xNetworking

    Node $NodeName
    {
        xDnsClientGlobalSetting AddDNSSuffix
        {
            IsSingleInstance = 'Yes'
            SuffixSearchList = 'contoso.com'
            UseDevolution    = $true
            DevolutionLevel  = 0
        }
    }
}