DnsConnectionSuffix_AddSpecificSuffix_Config.ps1

<#PSScriptInfo
.VERSION 1.0.0
.GUID bb3f31aa-09bc-46c4-bf60-35c5702934b3
.AUTHOR Microsoft Corporation
.COMPANYNAME Microsoft Corporation
.COPYRIGHT
.TAGS DSCConfiguration
.LICENSEURI https://github.com/PowerShell/NetworkingDsc/blob/master/LICENSE
.PROJECTURI https://github.com/PowerShell/NetworkingDsc
.ICONURI
.EXTERNALMODULEDEPENDENCIES
.REQUIREDSCRIPTS
.EXTERNALSCRIPTDEPENDENCIES
.RELEASENOTES First version.
.PRIVATEDATA 2016-Datacenter,2016-Datacenter-Server-Core
#>


#Requires -module NetworkingDsc

<#
    .DESCRIPTION
    This configuration will set a DNS connection-specific suffix on a network interface that
    is identified by its alias.
#>

Configuration DnsConnectionSuffix_AddSpecificSuffix_Config
{
    Import-DscResource -Module NetworkingDsc

    Node localhost
    {
        DnsConnectionSuffix AddSpecificSuffix
        {
            InterfaceAlias           = 'Ethernet'
            ConnectionSpecificSuffix = 'contoso.com'
        }
    }
}