Examples/Sample_ConfigureACipher.ps1

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
<#
    .SYNOPSIS
        Configures the 'RC2 128/128' cipher to be disabled.
#>

Configuration Sample_ConfigureACipher {
    Import-DscResource -ModuleName 'SchannelPolicyDsc'

    Node localhost {
        Cipher "Disable RC2" {
            Cipher = "RC2 128/128"
            Ensure = "Absent"
        }
    }
}