• beeng@discuss.tchncs.de
    link
    fedilink
    arrow-up
    0
    ·
    3 months ago

    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.

    • Toribor@corndog.social
      link
      fedilink
      English
      arrow-up
      0
      ·
      3 months ago

      I use Ansible on WSL to run Powershell scripts on Windows using VSCode. I’m surprised it works as well as it does.