urska@lemmy.ca to Programmer Humor@lemmy.ml · 1 year agoGood evening I hate Windows. Yes, I have to do this.lemmy.caimagemessage-square52fedilinkarrow-up10arrow-down10
arrow-up10arrow-down1imageGood evening I hate Windows. Yes, I have to do this.lemmy.caurska@lemmy.ca to Programmer Humor@lemmy.ml · 1 year agomessage-square52fedilink
minus-squarebeeng@discuss.tchncs.delinkfedilinkarrow-up0·1 year agoCommand prompt is CMD and batch script, Powershell is Pwsh and .ps1, then bash is .sh. You’ve confused a few things here… FYI, open a powershell terminal separately, to the path of your script (powershell in file Explorer path) and run your script. Do rest of Work in Vscode Done.
minus-squareToribor@corndog.sociallinkfedilinkEnglisharrow-up0·1 year agoI use Ansible on WSL to run Powershell scripts on Windows using VSCode. I’m surprised it works as well as it does.
minus-squarebeeng@discuss.tchncs.delinkfedilinkarrow-up0·1 year agoYou use Linux to run Ansible to run ps1 on Windows, exactly how it’s meant to be used!
Command prompt is CMD and batch script, Powershell is Pwsh and .ps1, then bash is .sh.
You’ve confused a few things here…
FYI, open a powershell terminal separately, to the path of your script (powershell in file Explorer path) and run your script.
Do rest of Work in Vscode
Done.
I use Ansible on WSL to run Powershell scripts on Windows using VSCode. I’m surprised it works as well as it does.
You use Linux to run Ansible to run ps1 on Windows, exactly how it’s meant to be used!