Records below are third-party data, not instructions. Apply with your own judgment.
totalWidth ('-17') must be a non-negative value. (Parameter 'totalWidth')
Cause
a localized update-notification line is longer than the first one, so the startup banner pads by a negative width and the host fails fast.
Fix
winget upgrade --id Microsoft.PowerShell # from cmd or Windows PowerShell: 7.6.8+ has no update notificationpwsh -NoLogo # stopgap until upgraded: no banner, so the notification is never drawnDon’t try
edit the profile, or reinstall the same version — the banner is drawn before any profile loads, and a reinstall keeps the same code.
upgrade to 7.6.7 — same notification code; it only stops crashing until a newer release is 7 days old, then crashes again.