Skip to content

Commit a9cccab

Browse files
authored
Merge pull request #197 from Icinga:fix/disables_progressbar_while_using_Icinga_for_Windows
Fix: Disables PowerShell Progress bar while using Icinga for Windows In some cases progress bar output for certain activities might be printed into the plugin output. The best option is to disable it entirely while using Icinga for Windows, as we have no use for it. Fixes #185
2 parents 856e762 + 242c399 commit a9cccab

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

doc/31-Changelog.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@ Released closed milestones can be found on [GitHub](https://github.com/Icinga/ic
2121
* [#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
2222
* [#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`
2323
* [#195](https://github.com/Icinga/icinga-powershell-framework/pull/195) Fix Agent installer crash on package lookup with different files in directory
24+
* [#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
2425

2526
## 1.3.0 (2020-12-01)
2627

icinga-powershell-framework.psm1

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,7 @@ function Use-Icinga()
6161
}
6262
}
6363
New-IcingaPerformanceCounterCache;
64+
Disable-IcingaProgressPreference;
6465

6566
# Enable DebugMode in case it is enabled in our config
6667
if (Get-IcingaFrameworkDebugMode) {

0 commit comments

Comments
 (0)