5 min read
A plaza between office buildings and walkways on the Microsoft Redmond campus, photographed in July 2006
Image credits · Photo: Jonathan Schilling / CC BY-SA 4.0, via Wikimedia Commons

PowerShell 7.7 Released on .NET 11: New-Guid Change and Other Fixes

Microsoft shipped PowerShell 7.7 on 10 November with a new temp-directory cmdlet, hardening work and breaking changes that can affect scripts using New-Guid.

In short

Microsoft released PowerShell 7.7 on 10 November 2026. It runs on .NET 11, is a Standard Term Support version, and adds New-TemporaryDirectory. Its main breaking change is that New-Guid now returns time-sortable version 7 UUIDs, so scripts needing random GUIDs should call [guid]::NewGuid().

Table of contents 5 sections
Key takeaways
  • PowerShell 7.7 was announced on 10 November 2026 and is built on .NET 11 as a Standard Term Support release.
  • New-Guid now defaults to version 7, time-sortable UUIDs, so use [guid]::NewGuid() where randomness matters.
  • The release adds New-TemporaryDirectory, Join-Path -Extension and Format-* -ExcludeProperty.
  • Microsoft's lifecycle page lists PowerShell 7.4 and 7.5 as ending support on 10 November 2026, with 7.6 LTS supported until 14 November 2028.
  • Commenters report 7.7 ships as MSIX only, so test deployment before a fleet rollout.

Microsoft announced the PowerShell 7.7 release on 10 November 2026. It is built on .NET 11 and is a Standard Term Support version, so it will not get the long servicing window of an LTS build. The release adds new commands and security hardening, and it changes a few behaviours that can break existing scripts.

What is new in the PowerShell 7.7 release?

Microsoft's release post lists these additions:

  • A New-TemporaryDirectory cmdlet.
  • An -Extension parameter on Join-Path.
  • An -ExcludeProperty parameter on Format-Table, Format-List and Format-Custom.
  • A SubjectAlternativeName property on the object returned by Get-AuthenticodeSignature.
  • A ToRegex() method on WildcardPattern.
  • Updated Microsoft.PowerShell.PSResourceGet and Microsoft.PowerShell.Archive modules.

The release also reports reliability fixes, including handling of a damaged powershell.config.json, tab completion, Get-Command fuzzy matching and progress bar rendering. PowerShell telemetry now respects the Windows diagnostics and feedback setting. The post credits 22 individuals as code contributors.

Scale explains the caution. When 7.1 shipped in 2020, the PowerShell team said PowerShell had over 115 million sessions per month and prioritised stability for that reason. That figure is six years old, but it shows why even small default changes matter.

None of this is a rewrite. Most of the list is small additions that save a few lines of script, such as building a temp folder or swapping a file extension in a path. The items that deserve a careful read are the behaviour changes in the next section, because they can alter results without raising an error.

Hardening work covers Constrained Language Mode, remoting, CIM schema validation, implicit remoting aliases, updatable help, temporary home directory permissions on Unix, and Test-Json.

Which PowerShell 7.7 breaking changes can break scripts?

The biggest change for many admins is New-Guid. It now returns a version 7 UUID, which is time-sortable, instead of a version 4 random one. The output format is the same, so nothing fails loudly. Microsoft's documentation says scripts that depend on fully random GUIDs should call [guid]::NewGuid() directly. If a script uses a GUID as a hard-to-guess token, that is the line to change.

Other changes the documentation flags:

  • Format-Table, Format-List and Format-Custom now check that -Property is not null or empty.
  • Null-or-empty argument checks now throw System.ArgumentException instead of the earlier PSArgumentNullException, which matters for any error handling that catches the old type.
  • Explicit false values on Where-Object operator switches, such as -EQ:$false, are now handled correctly. Several other cmdlets, including the CSV cmdlets, Get-Random, Split-Path and Test-Connection, got the same fix for explicit -Switch:$false values.
  • Test-Json needs -FetchExternalReference before it resolves external schema references.
  • Export-Csv no longer accepts -Append together with -NoHeader.
  • -NoTypeInformation on the CSV cmdlets writes a deprecation warning and does nothing.

The built-in update notification was also removed. The Microsoft Learn page I used for the cmdlet details describes a preview build (7.7.0-preview.5), so confirm each item against the final release notes before you rely on it.

Should you move to PowerShell 7.7 now?

That depends on which version you run. Microsoft's support lifecycle page lists PowerShell 7.4 (LTS) and 7.5 as ending support on 10 November 2026, the same day 7.7 shipped. PowerShell 7.6 is the current LTS line, released on 18 March 2026 on .NET 10 and supported until 14 November 2028. The lifecycle table I read was last updated in September and still showed 7.7 as a preview, so it gives no end date for 7.7.

In practice that gives three paths. Teams on 7.4 or 7.5 need to move to something supported. Teams that want the longest runway can go to 7.6. Teams that want the newest runtime and can retest scripts can take 7.7, knowing it follows the shorter standard cycle.

Docker users should note that the lifecycle page says the .NET SDK images contain the latest PowerShell versions, but Microsoft says they are provided for testing and may lack the latest security updates. For production, build and maintain your own image.

One installer caveat

Commenters on the release post report that 7.7 ships only as an MSIX package, with no MSI, and a PowerShell team member replied that all-users installs are not supported by MSIX yet. That comes from the comment section, not the article itself, so check the install page before you plan a fleet rollout. Windows admins who deploy with MSI-based tools and rely on all-users installs should test first. The same reply said 7.6 still ships an MSI.

The release landed in the same week as the November Windows security updates, and admins patching Windows can find that story in our report on the Windows 11 KB5132061 cloud rebuild option. Scripts that manage those machines are the first place to look for the changes above.

How to test your scripts before upgrading

  1. Install 7.7 side by side with your current version on a test machine.
  2. Search your scripts for New-Guid and decide whether each use needs a random value or a sortable one.
  3. Search for Where-Object with explicit -Switch:$false values, Export-Csv with -Append and -NoHeader, and Test-Json calls that load external schemas.
  4. Check any try and catch blocks that match PSArgumentNullException.
  5. Run your scheduled jobs in a test environment and compare outputs.

Give yourself time for the last step. A scheduled job that quietly produces different output is harder to catch than one that fails, so compare results from the old and new versions on the same input rather than trusting a clean exit code.

Watch the lifecycle page for the published end-of-support date for 7.7 and for the first servicing release, and read the full changelog on the PowerShell GitHub repository before you move production jobs.

Frequently asked

Sources
  1. PowerShell 7.7 general availability announcement — Microsoft PowerShell Team Blog
  2. What's New in PowerShell 7.7 — Microsoft Learn
  3. PowerShell Support Lifecycle — Microsoft Learn
Written by Said Dulevic

Our international desk covers the infrastructure, policy and people behind the technology shaping the world. Tips and corrections: newsroom@globalpulsedaily.com

More from this author

0 comments

Never published.
A quick check that you are not a script.
Comments are moderated. Links, contact details and abuse are removed.

No comments yet — be the first.