[Issue] warn users when they need to install powershell 7 (or fallback to powershell 5) #4560
Open
1 task done
Labels
Milestone
Output from
azd version
Run
azd version
and copy and paste the output here:Describe the bug
To Reproduce
On a machine with powershell 5 command, run a sample that uses powershell post provision hooks, such as: https://github.com/azureai-samples/azureai-basic-python
Expected behavior
It took me a while to realize that
pwsh
is for powershell 7 and thatpowershell
is for powershell 5, could azd check for the presence ofpwsh
and if it doesn't exist:Environment
Windows, VS Code (latest), Python
Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered: