diff --git a/centreon/common/powershell/windows/pendingreboot.pm b/centreon/common/powershell/windows/pendingreboot.pm index 39165848f..25960fe51 100644 --- a/centreon/common/powershell/windows/pendingreboot.pm +++ b/centreon/common/powershell/windows/pendingreboot.pm @@ -110,7 +110,10 @@ Try { $SCCM = $null } + $WindowsVersion = (Get-WmiObject -class Win32_OperatingSystem).Caption; + $item = @{ + WindowsVersion = $WindowsVersion; CBServicing = $CBSRebootPend; WindowsUpdate = $WUAURebootReq; CCMClientSDK = $SCCM;