Skip to content

Windows is using PowerShell Core instead of PowerShell as documented #26868

Answered by weide-zhou
paresy asked this question in Actions
Discussion options

You must be logged in to vote

Thanks for your feedback! There are two parameters here: pwsh / powershell,

for “shell: pwsh”: powershell core(6.2.3) will be invoked.

for “shell: powershell”: desktop powershell(5.1) will be invoked.

If you didn’t point out the shell parameter, powershell core will be invoked as it’s default.

As offical doc says:

Users can always opt out by not using the built-in shell, and providing a custom shell option like: pwsh -File {0}, or powershell -Command “& ‘{0}’”, depending on need.

Thanks.

Replies: 7 comments

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants