Looking at your earlier post, and comparing it to the output I’m gettting, the length seems OK, but the content is slightly different. Given the parsing is dependent on IE, and you mentioned that you have an older version of Windows 10, I’m wondering if you have a problem with IE. Is it patched up to date?
Get-Item 'C:\Program Files\Internet Explorer\iexplore.exe' | Select-Object VersionInfo | Format-List