PowerShell 7.6.0 preview 4 released for Windows 11 and Windows 10



 github PowerShell:

Breaking Changes​

  • Fix WildcardPattern.Escape to escape lone backticks correctly (#25211) (Thanks @ArmaanMcleod!)
  • Convert -ChildPath parameter to string[] for Join-Path cmdlet (#24677) (Thanks @ArmaanMcleod!)
PowerShell 7.6-preview.4 includes the following updated modules:
  • Microsoft.PowerShell.ThreadJob v2.2.0
  • ThreadJob v2.1.0
    The ThreadJob module was renamed to Microsoft.PowerShell.ThreadJob. There is no difference
    in the functionality of the module. To ensure backward compatibility for scripts that use the old
    name, the ThreadJob v2.1.0 module is a proxy module that points to the
    Microsoft.PowerShell.ThreadJob v2.2.0.

Engine Updates and Fixes​

  • Add PipelineStopToken to Cmdlet which will be signaled when the pipeline is stopping (#24620) (Thanks @jborean93!)
  • Fallback to AppLocker after WldpCanExecuteFile (#24912)
  • Move .NET method invocation logging to after the needed type conversion is done for method arguments (#25022)
  • Fix share completion with provider and spaces (#19440) (Thanks @MartinGC94!)

General Cmdlet Updates and Fixes​

  • Exclude -OutVariable assignments within the same CommandAst when inferring variables (#25224) (Thanks @MartinGC94!)
  • Fix infinite loop in variable type inference (#25206) (Thanks @MartinGC94!)
  • Update Microsoft.PowerShell.PSResourceGet version in PSGalleryModules.csproj (#25135)
  • Add tooltips for hashtable key completions (#17864) (Thanks @MartinGC94!)
  • Fix type inference of parameters in classic functions (#25172) (Thanks @MartinGC94!)
  • Improve assignment type inference (#21143) (Thanks @MartinGC94!)
  • Fix TypeName.GetReflectionType() to work when the TypeName instance represents a generic type definition within a GenericTypeName (#24985)
  • Remove the old fuzzy suggestion and fix the local script filename suggestion (#25177)
  • Improve variable type inference (#19830) (Thanks @MartinGC94!)
  • Fix parameter completion when script requirements fail (#17687) (Thanks @MartinGC94!)
  • Improve the completion for attribute arguments (#25129) (Thanks @MartinGC94!)
  • Fix completion that relies on pseudobinding in script blocks (#25122) (Thanks @MartinGC94!)
  • Don't complete duplicate command names (#21113) (Thanks @MartinGC94!)
  • Make SystemPolicy public APIs visible but non-op on Unix platforms so that they can be included in PowerShellStandard.Library (#25051)
  • Set standard handles explicitly when starting a process with -NoNewWindow (#25061)
  • Fix tooltip for variable expansion and include desc (#25112) (Thanks @jborean93!)
  • Add type inference for functions without OutputType attribute and anonymous functions (#21127) (Thanks @MartinGC94!)
  • Add completion for variables assigned by command redirection (#25104) (Thanks @MartinGC94!)
  • Handle type inference for redirected commands (#21131) (Thanks @MartinGC94!)
  • Allow empty prefix string in Import-Module -Prefix to override default prefix in manifest (#20409) (Thanks @MartinGC94!)
  • Update variable/property assignment completion so it can fallback to type inference (#21134) (Thanks @MartinGC94!)
  • Use Get-Help approach to find about_*.help.txt files with correct locale for completions (#24194) (Thanks @MartinGC94!)
  • Use script filepath when completing relative paths for using statements (#20017) (Thanks @MartinGC94!)
  • Fix completion of variables assigned inside Do loops (#25076) (Thanks @MartinGC94!)
  • Fix completion of provider paths when a path returns itself instead of its children (#24755) (Thanks @MartinGC94!)
  • Enable completion of scoped variables without specifying scope (#20340) (Thanks @MartinGC94!)
  • Fix issue with incomplete results when completing paths with wildcards in non-filesystem providers (#24757) (Thanks @MartinGC94!)
  • Allow DSC parsing through OS architecture translation layers (#24852) (Thanks @bdeb1337!)

Code Cleanup​

We thank the following contributors!

@ArmaanMcleod, @pressRtowin

Tools​

  • Check GH token availability for Get-Changelog (#25133)

Tests​

  • Add XUnit test for HandleDoubleAndSingleQuote in CompletionHelpers class (#25181) (Thanks @ArmaanMcleod!)

Build and Packaging Improvements​

  • Switch to ubuntu-lastest for CI (#25247)
  • Update outdated package references (#25026)(#25232)
  • Bump Microsoft.PowerShell.ThreadJob and ThreadJob modules (#25232)
  • Bump github/codeql-action from 3.27.9 to 3.28.13 (#25218)(#25231)
  • Update .NET SDK to 10.0.100-preview.2 (#25154)(#25225)
  • Remove obsolete template from Windows Packaging CI (#25226)
  • Bump actions/upload-artifact from 4.5.0 to 4.6.2 (#25220)
  • Bump agrc/reminder-action from 1.0.15 to 1.0.16 (#25222)
  • Bump actions/checkout from 2 to 4 (#25221)
  • Add NoWarn NU1605 to System.ServiceModel.* (#25219)
  • Bump actions/github-script from 6 to 7 (#25217)
  • Bump ossf/scorecard-action from 2.4.0 to 2.4.1 (#25216)
  • Bump super-linter/super-linter from 7.2.1 to 7.3.0 (#25215)
  • Bump agrc/create-reminder-action from 1.1.16 to 1.1.17 (#25214)
  • Remove dependabot updates that don't work (#25213)
  • Update GitHub Actions to work in private GitHub repo (#25197)
  • Cleanup old release pipelines (#25201)
  • Update package pipeline windows image version (#25191)
  • Skip additional packages when generating component manifest (#25102)
  • Only build Linux for packaging changes (#25103)
  • Remove Az module installs and AzureRM uninstalls in pipeline (#25118)
  • Add GitHub Actions workflow to verify PR labels (#25145)
  • Add back-port workflow using dotnet/arcade (#25106)
  • Make Component Manifest Updater use neutral target in addition to RID target (#25094)
  • Make sure the vPack pipeline does not produce an empty package (#24988)

Documentation and Help Content​

  • Add 7.4.9 changelog (#25169)
  • Create changelog for 7.4.8 (#25089)


 Source:


Download:

See also:
 
  • Like
Reactions: OAT
Getting it...

1744212204851.webp
 

My Computer

System One

  • OS
    Windows 11
    Computer type
    PC/Desktop
    Manufacturer/Model
    Asus/Custom Build
    CPU
    Intel® Xeon® X5690 3.47GHz Six-Core
    Motherboard
    Asus P6T Deluxe v2
    Memory
    G.Skill PC3-12800 1600MHz 24GB
    Graphics Card(s)
    NVIDIA GeForce GTX 1050
    Sound Card
    SoundMAX ADI AD2000B HD Audio
    Monitor(s) Displays
    Acer T232HL Touch Screen
    Screen Resolution
    1920 x 1080 @ 60Hz
    Hard Drives
    6 Crucial MX500 SSD 1TB each.
    PSU
    Thermaltake Toughpower Gold 850W
    Case
    Thermaltake Armor VA8000SWA
    Cooling
    Thermaltake Air Cooling System
    Keyboard
    Illuminated Multimedia LED Keyboard
    Mouse
    M16 Dual Mode Illuminated Mouse - Bluetooth / 2.4 GHz Mode
    Internet Speed
    800 Mbps
    Browser
    Edge / Opera / Vivaldi / Chrome / Firefox / Brave
    Antivirus
    Windows Defender Security
And so it is!

1744213123719.webp
 

My Computer

System One

  • OS
    Windows 11
    Computer type
    PC/Desktop
    Manufacturer/Model
    Asus/Custom Build
    CPU
    Intel® Xeon® X5690 3.47GHz Six-Core
    Motherboard
    Asus P6T Deluxe v2
    Memory
    G.Skill PC3-12800 1600MHz 24GB
    Graphics Card(s)
    NVIDIA GeForce GTX 1050
    Sound Card
    SoundMAX ADI AD2000B HD Audio
    Monitor(s) Displays
    Acer T232HL Touch Screen
    Screen Resolution
    1920 x 1080 @ 60Hz
    Hard Drives
    6 Crucial MX500 SSD 1TB each.
    PSU
    Thermaltake Toughpower Gold 850W
    Case
    Thermaltake Armor VA8000SWA
    Cooling
    Thermaltake Air Cooling System
    Keyboard
    Illuminated Multimedia LED Keyboard
    Mouse
    M16 Dual Mode Illuminated Mouse - Bluetooth / 2.4 GHz Mode
    Internet Speed
    800 Mbps
    Browser
    Edge / Opera / Vivaldi / Chrome / Firefox / Brave
    Antivirus
    Windows Defender Security

Latest Support Threads

Latest Tutorials

Back
Top Bottom