Microsoft has released PowerShell version 7.3.0 Preview 1. It is an optional download if you wish to test out the new features and improvements in their latest development.
Since it is a preview version, you may experience some anomalies. There is currently one known issue where the Alpine Linux packages are missing
powershell.config.json which disables the experimental features by default.
If you already have a stable version of Windows PowerShell running on your machine, installing the preview version will not affect it and both could run simultaneously. However, in case an older preview version of PowerShell is installed, it will be automatically overwritten with the newer preview version.
While installing PowerShell, you will be given the option to choose whether to update it via Microsoft Update or WSUS. However, it will have no effect since the preview version needs to be manually installed.
Table of Contents
Since you already know the known issue with this release, let us see what new features it brings before you install it.
Changes and Improvements
We have highlighted the significant improvements in this preview release:
- [Breaking Changes]
cleanblock to script block as a peer to
endto allow easy resource cleanup.
- Change default for
- Removed duplicate remote server mediator code.
PSVersionparameter version checks and error messages for PowerShell 7 remoting.
- Use the same temporary home directory when
HOMEenv variable is not set.
- Fix parser to generate error when array has more than 32 dimensions.
- Avoid validation for built-in file extension and color VT sequences.
- [General Cmdlet Fixes]
PlainTextwhen writing to a host that doesn’t support VT.
- Remove support for
AppExeCLinksto retrieve target.
ConvertTo-SecureStringwith key regression due to .NET breaking change.
- Fix regression in
Move-Itemto only fallback to
copy and deletein specific cases
- Fix link header parsing to handle unquoted
- Fix a casting error when using
- Make the native command error handling optionally honor
- Remove declaration of experimental features in Utility module manifest as they are stable.
- Fix race condition between
- Fix the
Max_PATHcondition check to handle long path correctly.
- Fix tab completion within the script block specified for the
-HttpVersionparameter to web cmdlets.
- Add support to web cmdlets for open-ended input tags.
ConvertTo-Json -Depthto allow 100 at maximum.
- Fix for SSH remoting when banner is enabled on SSHD endpoint.
PipelineVariableto set variable in the right scope.
To learn more about these fixes and improvements, read the Release Notes.
Download PowerShell 7.3 Preview 1
You can download PowerShell 7.3 Preview 1 from the direct download links below.
For Windows 11, 10, 8.1, and 7
For more download options, please check out this download page.
How to Install PowerShell 7.3 Preview 1
Here is how you can install Windows PowerShell 7.3 Preview 1 in Windows 11,10, 8.1, and Windows 7.
- Download and execute the respective MSI file from the links above.
- The installation wizard will now run. Click Next on the first screen.
- Now select the destination folder for the installation and click Next.
- Select the optional features you want to install, such as adding PowerShell to environment variables, enable PowerShell remoting, add PowerShell to the context menu, etc. Click Next when selected.
- Leave the default settings on the next page and click Next.
- On the next screen, click Install to begin the installation.
- Once installed, click Finish.
- Now confirm that PowerShell has been installed by running PowerShell. Type in pwsh in Run and ou shall see the installed version at the top.
We recommend that you install all preview releases by Microsoft in a test environment, for example on a virtual machine, and not on production environments. This is because preview releases are meant for testing purposes so that Microsoft can fix any issues that they missed based on the user’s feedback.