F8 在 Powershell 5.1 而不是 Powershell 6 中執行程式碼

F8 在 Powershell 5.1 而不是 Powershell 6 中執行程式碼

我已經開始使用 vscode 但還不太熟練!

我安裝了 powershell 6,但每次我編寫程式碼並按 F8 運行程式碼部分時,它都會在 powershell 整合控制台中運行它,結果是 powershell 5.1 而不是 powershell 6。

相關內容