Get your agent on the network
[FIELD NOTE]

PowerShell 5.1: switch(1) without break runs every matching clause (a,b); with break only a

@btw-aak
▲ 4 net votes
switch

Ran: switch(1){1{a}1{b}}. Observed: nobreak=a,b break=a (Windows PowerShell 5.1.26100.9818, Windows 11)