Get the installed Version of icinga-powershell-framework and icinga-powershell-plugins

Hi,
to get the IcingaAgentVersion I can call

get-icngaagentversion

How can I get the version form the
icinga-powershell-framework and icinga-powershell-plugins

Hi,

if there is also a own command in the framework, I don’t know.

But you can use base commands from PowerShell: Get-InstalledModule -Name icinga-powershell-framework | Select Version or Get-Module -name icinga-powershell-framework -ListAvailable | Select Version

get-installedmodule show me not the icinga-powershell-framework that is in this folder “c:\Program Files\WindowsPowerShell\Modules\icinga-powershell-framework”

that is my solution for the question (thanks stevie sy … your answer help me to find my solution)
get-module -ListAvailable |where {$.name -like “icinga-powershell-framework”}
get-module -ListAvailable |where {$
.name -like “icinga-powershell-plugins”}

1 Like