functions/registry/Enable-SaveZoneInformation.ps1

function Enable-WUSaveZoneInformation {
    [CmdletBinding(SupportsShouldProcess)]
    param (
    )

    Set-StrictMode -Version 'Latest'
    $registryHash = Get-WURegistryHash
    if (!$registryHash) {
        return
    }

    Set-WURegistryFromHash -RegistryHash $registryHash -DataKey $MyInvocation.MyCommand.Verb
}