From 242c399da4c5b2c7300b328141f926e2ee9dacca Mon Sep 17 00:00:00 2001 From: Lord Hepipud Date: Wed, 27 Jan 2021 15:28:03 +0100 Subject: [PATCH] Disables PowerShell progress bar on init --- doc/31-Changelog.md | 1 + icinga-powershell-framework.psm1 | 1 + 2 files changed, 2 insertions(+) diff --git a/doc/31-Changelog.md b/doc/31-Changelog.md index 898b2ad3..93a7f538 100644 --- a/doc/31-Changelog.md +++ b/doc/31-Changelog.md @@ -21,6 +21,7 @@ Released closed milestones can be found on [GitHub](https://github.com/Icinga/ic * [#188](https://github.com/Icinga/icinga-powershell-framework/pull/188) Removes hardcoded zones `director-global` and `global-zones` which were always set regardless of user specification. This fix will ensure the user has the option to add or not add these zones * [#189](https://github.com/Icinga/icinga-powershell-framework/pull/189) Fixes wrong documented user group for accessing Performance Counter objects which should be `Performance Monitor Users` * [#195](https://github.com/Icinga/icinga-powershell-framework/pull/195) Fix Agent installer crash on package lookup with different files in directory +* [#197](https://github.com/Icinga/icinga-powershell-framework/pull/197) Fixes progress bar appearance on check outputs for certain plugins, by disabling the entire PowerShell progress bar during the usage of Icinga for Windows ## 1.3.0 (2020-12-01) diff --git a/icinga-powershell-framework.psm1 b/icinga-powershell-framework.psm1 index a283d9a9..007ee833 100644 --- a/icinga-powershell-framework.psm1 +++ b/icinga-powershell-framework.psm1 @@ -61,6 +61,7 @@ function Use-Icinga() } } New-IcingaPerformanceCounterCache; + Disable-IcingaProgressPreference; # Enable DebugMode in case it is enabled in our config if (Get-IcingaFrameworkDebugMode) {