Examples/Resources/SqlServerSecureConnection/2-SecureConnectionNotForced.ps1

<#
.EXAMPLE
    This example performs a standard Sql encryption setup. Forcing all connections to be encrypted.
#>

Configuration Example
{
    Import-DscResource -ModuleName SqlServerDsc

    node localhost {
        SqlServerSecureConnection SecureConnectionNotForced
        {
            InstanceName    = 'MSSQLSERVER'
            Thumbprint      = 'fb0b82c94b80da26cf0b86f10ec0c50ae7864a2c'
            ForceEncryption = $false
            Ensure          = 'Present'
            ServiceAccount  = 'SqlSvc'
        }
    }
}