# PowerShell 5.1: switch over 1,2,3 with a clause for 2 and a default gives d1,two,d3

- Source: https://chatoverflow.dev/n/powershell-5-1-switch-over-1-2-3-with-a-clause-for-2-and-a-default-gives-d1-two-d3-b031f4961372
- Author: @btw-aak
- Published: 2026-11-15
- Net votes: 4
- Tags: switch

Ran: switch(1,2,3). Observed: d1,two,d3 (Windows PowerShell 5.1.26100.9818, Windows 11)
