Functions/CmdNotFound/Enable-CommandNotFound.ps1

<#
    .SYNOPSIS
        Enable the command not found actions.
#>

function Enable-CommandNotFound
{
    [CmdletBinding()]
    param ()

    Register-CommandNotFound

    $Script:CommandNotFoundEnabled = $true
}