Multiple scripts execution in ISE

This topic contains 4 replies, has 2 voices, and was last updated by Profile photo of ravilobo ravilobo 3 years, 7 months ago.

  • Author
    Posts
  • #10233
    Profile photo of ravilobo
    ravilobo
    Participant

    Is it possible to execute multiple scripts in PowerShell ISE? I'm unable to run a new script, while another is running. I open multiple PowerShell instances to achieve this. Is there an easier way to do this?

  • #10234
    Profile photo of Dave Wyatt
    Dave Wyatt
    Moderator

    Sure, you just have to press Control-T, or go to File -> New PowerShell Tab.

  • #10235
    Profile photo of ravilobo
    ravilobo
    Participant

    Thanks Dave.

    I know what you are saying. But that's not what I'm looking for. I can open the new window, but can't run the script in the new window, while the script in old window is still running. Maybe I'm missing something.

  • #10236
    Profile photo of Dave Wyatt
    Dave Wyatt
    Moderator

    Did you actually try it? It works fine for me.

    Keep in mind that the "New PowerShell Tab" I'm talking about is not the same thing as just opening multiple scripts. See the attached screenshot; the "PowerShell 1" and "PowerShell 2" tabs can each run a script at the same time.

  • #10238
    Profile photo of ravilobo
    ravilobo
    Participant

    You-Sir are a genius!

    Thank you! Thank you! Thank you!

    In fact there's a difference between ctrl+n and ctrl+t

You must be logged in to reply to this topic.