Where's the Powershell (Core) that installed from Windows Store located?

I installed Powershell from Windows Store. I would like to use that as my terminal in VS Code, but it can't find the PS.

Where's the Powershell located?


Where's the PowerShell 7 located?

If you installed Power Shell 7 from an MSI, then a PowerShell 7 folder, exists in your Program Files directory. If you installed it from the Microsoft Store, it will exist within a directory, contained in the WindowsApps directory.

According to a list of tasks the VS Code team worked on last year, the current version of Visual Studio Code, automatically detects PowerShell 7 from the Microsoft Store., If it's not being automatically detected you should simply update Visual Studio Code to the current version.

In order for Visual Studio Code to discover Power Shell 7 installed from the Microsoft Store you must be running at least Visual Studio Code January 2021 (1.53)

Source: January 2021 (version 1.53)