Skip to main content
Changed title from "How to open multiple power shell automatically in power shell?" to "Any way to double-click on .PS1 file & open them in PowerShell?" since that's what the question ends with and seems to be about. TL;DR title was a bit confusing.
Link

How Any way to double-click on .PS1 file & open multiple power shell automaticallythem in power shellPowerShell?

Source Link
Haresh
  • 51
  • 1
  • 5

How to open multiple power shell automatically in power shell?

I have my_project.ps1 file from which I am activating virtual environment & starting my project.

currently I need to open my powershell then after I need to go to directory where I have saved my .ps1 file & have to open it from powershell only.

Is there any way so that I can double click on .ps1 file & it will open automatically in power shell ?