For rebuilding the Code Cache there exists the param -RebuildCache. Afterwards the IMC is started. But for automation - like sending this Cmdlet to every/some/many server(s) via WinRM this is not so fine.
For this action it would be very helpful if there is an additional option to don't start the IMC or to have an another cmdlet for such tasks.
I saw there exists the cmdlet Write-IcingaFrameworkCodeCache but it looks like it doesn't the same. e.g. if you install the PowerShell-moduls manully, icinga -RebuildCache is also doing some migration tasks if necessary