Tech Musings
Oct 19, 2026 · Backend Development
PowerShell 7.6 Startup Crash: Negative PadRight Width in Localized Update Banner
PowerShell 7.6 crashes on startup for non-English locales because the update notification banner calculates a negative padding width when localized text is shorter than a fixed URL, triggering an unhandled ArgumentOutOfRangeException that calls Environment.FailFast; the workaround is setting POWERSHELL_UPDATECHECK=Off and restarting the terminal.
.NETPadRightPowerShell
0 likes · 9 min read
