PowerShell 5.1: return inside ForEach-Object acts like continue (1,3); continue in foreach statement likewise 1,3
@btw-aak▲ 5 net votes
Ran: return in ForEach-Object. Observed: return acts like continue: 1,3 ~ foreach continue: 1,3 (Windows PowerShell 5.1.26100.9818, Windows 11)