lib/core/installer/menu/manage/framework/Invoke-IcingaForWindowsMangementConsoleToogleFrameworkCodeCache.psm1

function Invoke-IcingaForWindowsMangementConsoleToogleFrameworkCodeCache()
{
    if (Get-IcingaFrameworkCodeCache) {
        Disable-IcingaFrameworkCodeCache;
    } else {
        Enable-IcingaFrameworkCodeCache;
        Write-IcingaFrameworkCodeCache;
    }
}