github PowerShell/PowerShell v7.5.0-preview.1
v7.5.0-preview.1 Release of PowerShell

latest releases: v7.4.2, v7.3.12, v7.2.19...
pre-release3 months ago

7.5.0-preview.1 - 2024-01-18

Breaking Changes

  • Fix -OlderThan and -NewerThan parameters for Test-Path when using PathType and date range (#20942) (Thanks @ArmaanMcleod!)
    • Previously -OlderThan would be ignored if specified together
  • Change New-FileCatalog -CatalogVersion default to 2 (#20428) (Thanks @ThomasNieto!)

General Cmdlet Updates and Fixes

  • Fix completion crash for the SCCM provider (#20815, #20919, #20915) (Thanks @MartinGC94!)
  • Fix regression in Get-Content when -Tail 0 and -Wait are used together (#20734) (Thanks @CarloToso!)
  • Add Aliases to the properties shown up when formatting the help content of the parameter returned by Get-Help (#20994)
  • Add implicit localization fallback to Import-LocalizedData (#19896) (Thanks @chrisdent-de!)
  • Change Test-FileCatalog to use File.OpenRead to better handle the case where the file is being used (#20939) (Thanks @dxk3355!)
  • Added -Module completion for Save-Help and Update-Help commands (#20678) (Thanks @ArmaanMcleod!)
  • Add argument completer to -Verb for Start-Process (#20415) (Thanks @ArmaanMcleod!)
  • Add argument completer to -Scope for *-Variable, *-Alias & *-PSDrive commands (#20451) (Thanks @ArmaanMcleod!)
  • Add argument completer to -Verb for Get-Verb and Get-Command (#20286) (Thanks @ArmaanMcleod!)
  • Fixing incorrect formatting string in CommandSearcher trace logging (#20928) (Thanks @powercode!)
  • Ensure the filename is not null when logging WDAC ETW events (#20910) (Thanks @jborean93!)
  • Fix four regressions introduced by the WDAC logging feature (#20913)
  • Leave the input, output, and error handles unset when they are not redirected (#20853)
  • Fix Start-Process -PassThru to make sure the ExitCode property is accessible for the returned Process object (#20749) (Thanks @CodeCyclone!)
  • Fix Group-Object output using interpolated strings (#20745) (Thanks @mawosoft!)
  • Fix rendering of DisplayRoot for network PSDrive (#20793)
  • Fix Invoke-WebRequest to report correct size when -Resume is specified (#20207) (Thanks @LNKLEO!)
  • Add PSAdapter and ConsoleGuiTools to module load telemetry whitelist (#20641)
  • Fix Web Cmdlets to allow WinForm apps to work correctly (#20606)
  • Block getting help from network locations in restricted remoting sessions (#20593)
  • Fix Group-Object to use current culture for its output (#20608)
  • Add argument completer to -Version for Set-StrictMode (#20554) (Thanks @ArmaanMcleod!)
  • Fix Copy-Item progress to only show completed when all files are copied (#20517)
  • Fix UNC path completion regression (#20419) (Thanks @MartinGC94!)
  • Add telemetry to check for specific tags when importing a module (#20371)
  • Report error if invalid -ExecutionPolicy is passed to pwsh (#20460)
  • Add HelpUri to Remove-Service (#20476)
  • Fix unixmode to handle setuid and sticky when file is not an executable (#20366)
  • Fix Test-Connection due to .NET 8 changes (#20369)
  • Fix implicit remoting proxy cmdlets to act on common parameters (#20367)
  • Set experimental features to stable for 7.4 release (#20285)
  • Revert changes to continue using BinaryFormatter for Out-GridView (#20300)
  • Fix Get-Service non-terminating error message to include category (#20276)
  • Prevent Export-CSV from flushing with every input (#20282) (Thanks @Chris--A!)
  • Fix a regression in DSC (#20268)
  • Include the module version in error messages when module is not found (#20144) (Thanks @ArmaanMcleod!)
  • Add -Empty and -InputObject parameters to New-Guid (#20014) (Thanks @CarloToso!)
  • Remove the comment trigger from feedback provider (#20136)
  • Prevent fallback to file completion when tab completing type names (#20084) (Thanks @MartinGC94!)
  • Add the alias r to the parameter -Recurse for the Get-ChildItem command (#20100) (Thanks @kilasuit!)

Code Cleanup

We thank the following contributors!

@eltociear, @ImportTaste, @ThomasNieto, @0o001

Tools

  • Make sure feedback link in the bot's comment is clickable (#20878) (Thanks @floh96!)
  • Fix bot so anyone who comments will remove the "Resolution-No Activity" label (#20788)
  • Fix bot configuration to prevent multiple comments about "no activity" (#20758)
  • Add bot logic for closing GitHub issues after 6 months of "no activity" (#20525)
  • Refactor bot for easier use and updating (#20805)
  • Configure bot to add survey comment for closed issues (#20397)

Tests

  • Suppress error output from Set-Location tests (#20499)
  • Fix typo in FileCatalog.Tests.ps1 (#20329) (Thanks @eltociear!)
  • Continue to improve tests for release automation (#20182)
  • Skip the test on x86 as InstallDate is not visible on Wow64 (#20165)
  • Harden some problematic release tests (#20155)

Build and Packaging Improvements

We thank the following contributors!

@alerickson, @Zhoneym, @0o001

  • Bump .NET SDK to 8.0.101 (#21084)
  • Update the cgmanifest (#20083, #20436, #20523, #20560, #20627, #20764, #20906, #20933, #20955, #21047)
  • Update to the latest NOTICES file (#20074, #20161, #20385, #20453, #20576, #20590, #20880, #20905)
  • Bump StyleCop.Analyzers from 1.2.0-beta.507 to 1.2.0-beta.556 (#20953)
  • Bump xUnit to 2.6.6 (#21071)
  • Bump JsonSchema.Net to 5.5.0 (#21027)
  • Fix failures in GitHub action markdown-link-check (#20996)
  • Bump xunit.runner.visualstudio to 2.5.6 (#20966)
  • Bump github/codeql-action from 2 to 3 (#20927)
  • Bump Markdig.Signed to 0.34.0 (#20926)
  • Bump Microsoft.ApplicationInsights from 2.21.0 to 2.22.0 (#20888)
  • Bump Microsoft.NET.Test.Sdk to 17.8.0 (#20660)
  • Update apiscan.yml to have access to the AzDevOpsArtifacts variable group (#20671)
  • Set the ollForwardOnNoCandidateFx in runtimeconfig.json to roll forward only on minor and patch versions (#20689)
  • Sign the global tool shim executable (#20794)
  • Bump actions/github-script from 6 to 7 (#20682)
  • Remove RHEL7 publishing to packages.microsoft.com as it's no longer supported (#20849)
  • Bump Microsoft.CodeAnalysis.CSharp to 4.8.0 (#20751)
  • Add internal nuget feed to compliance build (#20669)
  • Copy azure blob with PowerShell global tool to private blob and move to CDN during release (#20659)
  • Fix release build by making the internal SDK parameter optional (#20658)
  • Update PSResourceGet version to 1.0.1 (#20652)
  • Make internal .NET SDK URL as a parameter for release builld (#20655)
  • Fix setting of variable to consume internal SDK source (#20644)
  • Bump Microsoft.Management.Infrastructure to v3.0.0 (#20642)
  • Bump Microsoft.PowerShell.Native to v7.4.0 (#20617)
  • Bump Microsoft.Security.Extensions from 1.2.0 to 1.3.0 (#20556)
  • Fix package version for .NET nuget packages (#20551)
  • Add SBOM for release pipeline (#20519)
  • Block any preview vPack release (#20243)
  • Only registry App Path for release package (#20478)
  • Increase timeout when publishing packages to pacakages.microsoft.com (#20470)
  • Fix alpine tar package name and do not crossgen alpine fxdependent package (#20459)
  • Bump PSReadLine from 2.2.6 to 2.3.4 (#20305)
  • Remove the ref folder before running compliance (#20373)
  • Updates RIDs used to generate component Inventory (#20370)
  • Bump XunitXml.TestLogger from 3.1.11 to 3.1.17 (#20293)
  • Update experimental-feature json files (#20335)
  • Use fxdependent-win-desktop runtime for compliance runs (#20326)
  • Release build: Change the names of the PATs (#20307)
  • Add mapping for mariner arm64 stable (#20213)
  • Put the calls to Set-AzDoProjectInfo and Set-AzDoAuthToken in the right order (#20306)
  • Enable vPack provenance data (#20220)
  • Bump actions/checkout from 3 to 4 (#20205)
  • Start using new packages.microsoft.com cli (#20140, #20141)
  • Add mariner arm64 to PMC release (#20176)
  • Fix typo donet to dotnet in build scripts and pipelines (#20122) (Thanks @0o001!)
  • Install the pmc cli
  • Add skip publish parameter
  • Add verbose to clone

Documentation and Help Content

SHA256 Hashes of the release artifacts

  • hashes.sha256
    • 066AA0F677A4B92E4029E7E627D9E224A93FE35B8C00C175DB4E047F4A9013E2
  • powershell-7.5.0-preview.1-linux-arm32.tar.gz
    • 9F394364CA521342C63B51415B9F19080F8E59DF8E9339A96F71E2E8D90744D2
  • powershell-7.5.0-preview.1-linux-arm64.tar.gz
    • F06963FE7914EB1BD44E067E4D5237E5C7ED8580A56C0C1C4439C7173F42B691
  • powershell-7.5.0-preview.1-linux-musl-x64.tar.gz
    • A22FCAF538E85197BEB5AC733567EA4BD154120E1DF854AD8C22CC10DA02407C
  • powershell-7.5.0-preview.1-linux-x64-fxdependent.tar.gz
    • 92F141396C4AE80E016D40A375E4C148BC229C5E0A714A9A3995B9891C3E141A
  • powershell-7.5.0-preview.1-linux-x64-musl-noopt-fxdependent.tar.gz
    • D061B73EA35D6F1AD027319CA51DF21FC798C6879EC1187F8163CB8FEE3B93B7
  • powershell-7.5.0-preview.1-linux-x64.tar.gz
    • 6BFFFC8B3CC026BB4FFBC2A1C603DD5536041C65C5C05D829747209AFBCD9133
  • powershell-7.5.0-preview.1-osx-arm64.pkg
    • C24C1A53D0F751ADC98A428D1479190D895B67D09C8B274940AB6F39AA4DC482
  • powershell-7.5.0-preview.1-osx-arm64.tar.gz
    • 0DA9CBD5977119733E642BAB6985D5A3D6B063C5F0D3AA66A6B8C08A98641D2E
  • powershell-7.5.0-preview.1-osx-x64.pkg
    • 5D46B6861C732F281DD8AE39479BA3E21BB2BC96FBBC1C0C9241D4EBE877140A
  • powershell-7.5.0-preview.1-osx-x64.tar.gz
    • E00179FA4B9EE55773DB3706E4AF3285141F2C81D6AE33BB5DD4731053FD7EED
  • PowerShell-7.5.0-preview.1-win-arm64.zip
    • 3788CEECB6EA465D79A4F03BD3F175D09384F5648BEDFA008D950CE86804DB23
  • PowerShell-7.5.0-preview.1-win-fxdependent.zip
    • D4D602AC78C795A60F8FEACE713557CE373BC3EE398142AF7EFE74E107FACD22
  • PowerShell-7.5.0-preview.1-win-fxdependentWinDesktop.zip
    • C91850D8F66111947CCE20A8095B79A110F0ACCE09ACB89017BF2F7ED56F64D7
  • PowerShell-7.5.0-preview.1-win-x64.msi
    • EE6036CF39FF87390699FA37D7A4A2A10C673B09F6116A6D88AEC584BBCBC2FD
  • PowerShell-7.5.0-preview.1-win-x64.zip
    • BCCFC1FB1EFB50A5FD258E046BDBCF10C79F574F0D4EF074DB07605DCA9973B4
  • PowerShell-7.5.0-preview.1-win-x86.msi
    • AFD7C808595382CBAE97E41305ACB40F2EC4755ACAA290E264DA311878E84238
  • PowerShell-7.5.0-preview.1-win-x86.zip
    • C015FD1D368E328EF0D78B84B8F08E453F7D1BDA200FE414DFD724C061B87E4B
  • powershell-preview_7.5.0-preview.1-1.deb_amd64.deb
    • 5BF4E25E62723D4C203515AA72B6CE8C47AE1D569C4D2C15603B996D92813BBE
  • powershell-preview-7.5.0_preview.1-1.cm.aarch64.rpm
    • A46D13EB717D84F571553105A363E995C998326772E9D00E4F833CD53DBDB42C
  • powershell-preview-7.5.0_preview.1-1.cm.x86_64.rpm
    • F85E9E3A88A38B303CA7A5277C8A91C25A9DEA50441EBBD661BFFFDE1E87CB36
  • powershell-preview-7.5.0_preview.1-1.rh.x86_64.rpm
    • 5E698F40C797D7745C3B9675B2CFDB470A613F11A10C52B6011E3F41914BA26E

Don't miss a new PowerShell release

NewReleases is sending notifications on new releases.