456
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
this post was submitted on 07 Jun 2024
456 points (91.0% liked)
Programmer Humor
32483 readers
466 users here now
Post funny things about programming here! (Or just rant about your favourite programming language.)
Rules:
- Posts must be relevant to programming, programmers, or computer science.
- No NSFW content.
- Jokes must be in good taste. No hate speech, bigotry, etc.
founded 5 years ago
MODERATORS
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!