PowerShell 7.7.0 Preview 4: New-TemporaryDirectory and WLDP Security Hardening Added

Published by

PowerShell 7.7.0 Preview 4 introduces significant updates, including the New-TemporaryDirectory cmdlet, enabling safe directory creation in constrained language modes without requiring direct .NET type access. This version builds on the .NET 11.0 SDK preview, marking a substantial upgrade from the previous 7.6.x line. A critical security enhancement aligns PowerShell with the Windows Lockdown Policy, preventing interactive sessions unless specific script execution commands are used. Additionally, the preview offers support for Ubuntu 26.04 and includes various engine refinements and security patches for older versions, indicating a focus on stabilization leading up to the final release



PowerShell 7.7.0 Preview 4: New-TemporaryDirectory and WLDP Security Hardening Added

PowerShell 7.7.0 preview 4 marks a major platform shift by building on the .NET 11.0 SDK preview.6. The update introduces the New-TemporaryDirectory cmdlet, which allows safe directory creation in constrained language modes without direct .NET type access. A critical Windows security enhancement aligns PowerShell with the Lockdown Policy's EnableFileOnlyEntry setting, blocking interactive sessions on managed systems. Additionally, the preview brings Ubuntu 26.04 support, engine refinements, and backported security patches to older stable branches.

PowerShell 7.7.0 Preview 4: New-TemporaryDirectory and WLDP Security Hardening Added @ NT Compatible