PowerShell 7.7.0 Preview 5 Adds Agent-Friendly Output and More Resilient Startup
Two changes in this fifth preview target AI-agent output and a startup crash that has plagued cloud-synced users.
PowerShell 7.7.0-preview.5 hit the GitHub releases page on 23 September 2026. It was posted by contributor Justin Chung, the person behind much of the project's work on startup configuration and reliability. This is the fifth preview in the 7.7 line, which opened on 28 April 2026.
Think of these builds as development snapshots rather than something to upgrade to on a Friday afternoon. The final 7.7.0 is still months out, so treat preview 5 as a place to poke at new behavior and catch regressions, not as your daily driver.
A quieter default for machines
The headline feature is arguably the least exciting to most people and the most useful to a growing crowd: agents. The new $PSStyle.AutoSizeDefaultFormatting switch forces PowerShell's implicit default formatting to use AutoSize for table and wide views. That's the same effect as slapping -AutoSize onto a Format-Table command, only automatic.
It's off by default, so nothing changes unless you opt in by adding $PSStyle.AutoSizeDefaultFormatting = $true to your profile. The change was authored by Dongbo Wang (daxian-dbw) and merged on 17 September, and the pull request is pretty blunt about the intent.
"This allows PowerShell to generate less verbose output when used by an agent," Wang wrote. "It also makes PowerShell work better with small-window terminal."
So a Get-Process call from an automation harness or a narrow SSH session produces tight, single-line-per-row output instead of the wrapped, padded tables PowerShell emits by default. The List and Complex views are left alone and keep streaming rather than buffering.
No breaking changes ride along with this one. The work was even flagged as "7.6-consider," which suggests Microsoft may backport it to earlier tracks since agents benefit there too. Keep in mind that it targets only the implicit formatting, so you'll still see the old tables if you pipe to a Format-* cmdlet without -AutoSize.
Startup config stops crashing on bad files
The other change that matters is a genuine annoyance removed. The fix makes the per-user config fail open. Now if the file can't be read or contains a bad value type, PowerShell falls back to built-in defaults and writes a best-effort warning to standard error instead of aborting.
Preview 5 also carries a raft of smaller fixes you might not notice until you need them. Remote credential prompts for PSCredential and SecureString arrays are smoothed out. WPF key gesture strings will no longer be localized, so shortcuts stop looking garbled on non-English Windows builds. There's a telemetry UUID mutex fix, hardened CAB extraction path handling, and tightened validation on Copy-Item -FromSession.
Tooling got a small tidy-up too. Install-Dotnet now runs the install script directly, which simplifies SDK bootstrapping during builds. Tests were cleaned up to mark some DSC Profile tests as pending during MSIX runs and fix a flaky Debug-Runspace test. A stray <assembly> element was removed from CmdletizationCoreResources.resx.
There's a build-time milestone worth flagging as well. Preview 5 moves PowerShell onto the .NET SDK 11.0.100-rc.1 (build 11.0.100-rc.1.26425.128) and enables .NET 11 early access across release pipelines. This wraps up a migration that started earlier in the 7.7 cycle, so preview releases now run on the .NET 11 toolchain. For most users that just means modern runtime behavior and closer alignment with the broader .NET ecosystem.
Head here for the official release page.
