Indexes in PowerShell start with 0 (zero). So you should use …
($filename -split '_')[2]
… to extract the third element from the splitted file name.
Regardless of that - could you please format your code as code using the preformatted text button ( </> )?
Thanks in advance.
BTW: When you crosspost the same question at the same time to different forums you should at least post links to the other forums along with your question to avoid people willing to help you making their work twice or more.