How to add PowerShell 7 preview 4 to Windows Terminal

In case you’ve missed the latest update, there’s a new release for PowerShell v7 out!

Surely everyone’s also using Windows Terminal, so what better than to enable PowerShell v7 within Windows Terminal!

To do so, open Windows Terminal and go to Settings which will open the profiles.json file in your favourite editor [surely Visual Studio Code 😉 ].

Here you will have to add a profile to the “profiles”: section.

Be sure to check if the “commandline” and “icon” path are correct for you environment and also be sure to add a , either before or after your profile to make sure your JSON is still valid.
A full example profile can be found here!

Final result as expected:

Happy scripting! 🙂

twitterredditlinkedinmail

Robert

It never hurts to Get-Help

Leave a Reply

Your email address will not be published. Required fields are marked *