lib/core/installer/menu/manage/framework/ToogleFrameworkApiChecks.psm1

function Invoke-IcingaForWindowsMangementConsoleToogleFrameworkApiChecks()
{
    if (Get-IcingaFrameworkApiChecks) {
        Disable-IcingaFrameworkApiChecks;
    } else {
        Enable-IcingaFrameworkApiChecks;
    }
}