diff --git a/docs/learning-powershell/using-vscode.md b/docs/learning-powershell/using-vscode.md index 0441a53fb..362303915 100644 --- a/docs/learning-powershell/using-vscode.md +++ b/docs/learning-powershell/using-vscode.md @@ -59,13 +59,13 @@ If you wish to use a specific installation of PowerShell with Visual Studio Code ```json // On Windows: - "powershell.powerShellExePath": "c:/Program Files/PowerShell//powershell.exe" + "powershell.powerShellExePath": "c:/Program Files/PowerShell//pwsh.exe" // On Linux: - "powershell.powerShellExePath": "/opt/microsoft/powershell//powershell" + "powershell.powerShellExePath": "/opt/microsoft/powershell//pwsh" // On macOS: - "powershell.powerShellExePath": "/usr/local/microsoft/powershell//powershell" + "powershell.powerShellExePath": "/usr/local/microsoft/powershell//pwsh" ``` 3. Replace the setting with the path to the desired PowerShell executable