Want to know how to avoid returning unwanted data to the console whilst at the same time increasing the speed of your scripts? Using [void] can do just that
You expect foreach continue in PowerShell to be able to skip to the next item. However why when with % { continue } do you seemingly break out of your loop?