Skip to content

Protocol

dscbot edited this page Jan 28, 2026 · 5 revisions

Parameters

Parameter Attribute DataType Description Allowed Values
Protocol Key String Specifies the Protocol to configure Multi-Protocol Unified Hello, PCT 1.0, SSL 2.0, SSL 3.0, TLS 1.0, TLS 1.1, TLS 1.2, TLS 1.3
IncludeClientSide Write Boolean Specifies to also include Client Side protocols (Default: False)
RebootWhenRequired Write Boolean Specifies if a reboot will be performed when required (Default: False)
State Write String Specifies the state of the specified Protocol Enabled, Disabled, Default

Description

This resource is responsible for enabling or disabling protocols.

NOTE: TLS 1.3 is only supported with Windows Server 2022 and later

Examples

Example 1

This example shows how to enable the SSL v3.0 protocol.

Configuration Example
{
    param ()

    Import-DscResource -ModuleName SChannelDsc

    node localhost {
        Protocol EnableSSLv3
        {
            Protocol = 'SSL 3.0'
            State    = 'Enabled'
        }
    }
}

Example 2

This example shows how to disable the SSL v3.0 protocol.

Configuration Example
{
    param ()

    Import-DscResource -ModuleName SChannelDsc

    node localhost {
        Protocol DisableSSLv3
        {
            Protocol = 'SSL 3.0'
            State    = 'Disabled'
        }
    }
}

Example 3

This example shows how to enable the SSL v3.0 protocol, including the client side configuration (outbound).

Configuration Example
{
    param ()

    Import-DscResource -ModuleName SChannelDsc

    node localhost {
        Protocol EnableSSLv3
        {
            Protocol          = 'SSL 3.0'
            IncludeClientSide = $true
            State             = 'Enabled'
        }
    }
}

Example 4

This example shows how to reset the SSL v3.0 protocol to the OS default.

Configuration Example
{
    param ()

    Import-DscResource -ModuleName SChannelDsc

    node localhost {
        Protocol DisableSSLv3
        {
            Protocol = 'SSL 3.0'
            State    = 'Default'
        }
    }
}

Clone this wiki locally