diff --git a/icinga-powershell-framework.psm1 b/icinga-powershell-framework.psm1 index d90d40b..6cb380f 100644 --- a/icinga-powershell-framework.psm1 +++ b/icinga-powershell-framework.psm1 @@ -43,6 +43,7 @@ function Use-Icinga() 'DebugMode' = $DebugMode; } ); + New-IcingaPerformanceCounterCache; } else { # This will fix the debug mode in case we are only using Libs # without any other variable content and daemon handling