The information in this article applies to the new PowerShell Version Selector features in PrimalScript 8.1.205, PowerShell Studio 5.8.244, and later builds.
The PowerShell Version Selector has been a part of PowerShell Studio and PrimalScript since February 2022. Its main task is to enable you to swap the installed PowerShell 7 version quickly and efficiently.
Developing PowerShell applications or modules requires routine testing with whatever version your customer or organization has deployed at the moment. Constantly installing and uninstalling can become a bit tiresome, especially if you have other tasks running that require a specific version to be officially installed.
While the standard PowerShell 7 MSI installer does not allow multiple versions to be installed at the same time, using the zip files provided for each version can be used as a work around.
The new version of the PowerShell Version Selector can use these zip files to place supplemental PowerShell 7 versions next to the officially installed one.
The additional versions are located in a folder aptly named for the specific version.
The launch buttons also make it easy to launch the selected PowerShell version to quickly test your application in another PowerShell 7 version.
Feedback
Please let us know in the comments below if this helps you and what we can do to expand this functionality.