Hello,
starting from today IcingaForWindows PowerShell plugins do not work anymore when getting most recent packages from packages.icinga.com - error message in output:
[Error]: Component “plugins” has been installed with version “1.10.0”, but while importing the component an exception was thrown: The required module ‘icinga-powershell-framework’ with version ‘1.10.0’ is not loaded. Load the module or remove the module from ‘RequiredModules’ in the file ‘C:\Program Files\WindowsPowerShell\Modules\icinga-powershell-plugins\icinga-powershell-plugins.psd1’.
I have checked icinga-powershell-plugins.psd1 & found that it containts the line
On our webserver (custom repository) I saw the initial script downloading the 1.9.2 (old/previous) framework version (/icingastable/framework/icinga-powershell-framework-1.9.2.zip).
After a short research i found the root cause, the initial PowerShell Script “IcingaForWindows.ps1” does a sort operation over a data object from type string.
That results in a wrong Version Order. Version “1.10.0” is before 1.5.0 (at the bottom) and not at the top.