New to PowerShell: suppress stop but print the faulty lines

Erland,
Welcome to the forum. :wave:t4:

Before we proceed, please go back, edit your question and fix the formatting of the code as it is broken at the moment.

Here you can see how this works: