Examples/Sample_ConfigureAHashFunction.ps1

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
<#
    .SYNOPSIS
        Configures the 'MD5' hash function to be disabled.
#>

Configuration Sample_ConfigureAHashFunction {
    Import-DscResource -ModuleName 'SchannelPolicyDsc'

    Node localhost {
        Hash "Disable MD5" {
            Hash = "MD5"
            Ensure = "Absent"
        }
    }
}