execute powershell script vscode code example Example: how to open vs code from powershell Go to project directory Type code . (code space .)