It looks like the function New-OSBuildVersionTable returns System.Object[] for OSVersion 24H2. Possibly due to 2 rows for Version 24H2.
I tried to fix it by omitting duplicate rows but it doesn't work in the runbook. Please help in rectifying it.
Thanks!
Runbook: [Update Software_Updates_Reporting_Summarizer.ps1]
Function: New-OSBuildVersionTable