Tagged articles

PadRight

1 articles · Page 1 of 1
Tech Musings
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
PowerShell 7.6 Startup Crash: Negative PadRight Width in Localized Update Banner