Just a day ago, Microsoft released a stable version of Windows PowerShell, which was version 7.2.5. Today, Microsoft has released PowerShell 7.3 Preview 5. This update brings new improvements and fixes to the command-line tool that can be used to run scripts, automate and perform administrative tasks.
Since it is a preview version, it is only meant for testing, so that the public is ready for any changes that may impact their work before the final version is released. That being said, we strongly recommend you do not install it in any live/production environment.
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, if an older preview version of PowerShell is installed, it will automatically be overwritten with the newer preview version.
You can download and install PowerShell 7.3 Preview 3 using the given guide below. Before that, let us discuss the new improvements.
Table of contents
Changes and Improvements
We have highlighted significant improvements in this preview release:
- Improvements have been made to type inference and completions.
Out-Filekeep string input unchanged.
AnsiRegexable to capture Hyperlink ANSI sequences.
-ConfigurationFilecommand-line parameter has been added to
pwshto support local session configuration.
- The native library loading for
osx-arm64has been fixed.
- The formatting will now act appropriately when the style of the table header or list label is an empty string.
- [General Cmdlet Updates]
- Various completion issues inside the
paramblock have been addressed.
- The Amended switch to has been added to the
- Improvements have been made to the completion of operators.
- The array element completion for command arguments has been improved.
- Now use AST extent for
- Type inference support for generic methods with type parameters has been added
- Write out the OSC indicator only if the
stdoutis not redirected.
- Remove the assert and use a relatively larger capacity to cover the possible increase of .NET reference assemblies.
- The reference assembly count has been increased to 161.
- Various completion issues inside the
With these improvements, Microsoft currently has not disclosed any known issues. To learn more about these fixes and improvements, read the Release Notes.
Download PowerShell 7.3 Preview 5
You can download PowerShell 7.3 Preview 5 from the direct download links below.
For Windows 11, 10, 8.1, and 7
PowerShell-7.3.0 Preview 5 for Windows 64-bit.msi [80.5 MB]
PowerShell-7.3.0 Preview 5 for Windows 32-bit.msi [75.7 MB]
PowerShell-7.3.0 Preview 5 for MacOS 64-bit.pkg [43.8 MB]
PowerShell-7.3.0 Preview 5 for MacOS ARM64.pkg [42.3 MB]
PowerShell-7.3.0 Preview 5 for RedHat Linux.rpm [44.0 MB]
PowerShell-7.3.0 Preview 5 for Debian.deb [44.3 MB]
For more download options, please check out this download page.
How to Install PowerShell 7.3 Preview 5
Here is how you can install Windows PowerShell 7.3 Preview 5 on 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, enabling PowerShell remoting, adding 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 successfully. Type in pwsh in the Run Command box and you shall see the installed version at the top.
Learn more about PowerShell and PowerShell Core. You can also download and install PowerShell over the network.
As we previously highlighted, this is a preview release of the command-line tool, which is why we suggest that you do not install it in a live environment. It is primarily targetted for the developers who need to test their applications beforehand so that when the stable version is released, their products are compatible with one another.