Skip to content

VSCode powershell

Martin Milan edited this page Apr 1, 2023 · 1 revision

comments

https://github.com/pcgeek86/oscon-2017/blob/master/Lesson%2000%20-%20Explore%20the%20PowerShell%20Environment/03-Set%20up%20Visual%20Studio%20Code.ps1

52 # You can run blocks of PowerShell code by selecting it and hitting F8. 53 # If you don't have anything selected, then F8 will trigger the entire line that your cursor is currently on.

https://twitter.com/dfinke/status/1217956701447630848 https://twitter.com/stevenjudd/status/1218396170457886720

PowerShell Notebooks are documents which can contain both #PowerShell code and markdown. They are interactive and “executable documents”.

. ... but I live by F8) and needing python to run PowerShell seems odd ...

https://blog.hpcs.my/vscode-run-selected-text-in-terminal/

Aug 4, 2021 — I always liked how Powershell ISE has this feature where I can select the command and press F8 to run it in the command window.

... F8 in VSCode is ..., I use this all the time for testing scripts.

Clone this wiki locally