DSCResources/DSC_Hash/en-US/about_Hash.help.txt
|
.NAME
Hash .DESCRIPTION This resource is responsible for enabling or disabling hashes. .PARAMETER Hash Key - String Allowed values: MD5, SHA, SHA256, SHA384, SHA512 Specifies the Hash to configure .PARAMETER State Write - String Allowed values: Enabled, Disabled, Default Specifies the state of the specified Hash .PARAMETER RebootWhenRequired Write - Boolean Specifies if a reboot will be performed when required (Default: False) .EXAMPLE 1 This example shows how to enable the MD5 hash. Configuration Example { param () Import-DscResource -ModuleName SChannelDsc node localhost { Hash EnableMD5 { Hash = 'MD5' State = 'Enabled' } } } .EXAMPLE 2 This example shows how to disable the MD5 hash. Configuration Example { param () Import-DscResource -ModuleName SChannelDsc node localhost { Hash DisableMD5 { Hash = 'MD5' State = 'Disabled' } } } .EXAMPLE 3 This example shows how to reset the MD5 hash to the OS default. Configuration Example { param () Import-DscResource -ModuleName SChannelDsc node localhost { Hash DisableMD5 { Hash = 'MD5' State = 'Default' } } } |