PowerTip: Open PowerShell ISE and a Script

Doctor Scripto

Summary: Learn how to open the Windows PowerShell ISE and a script at the same time.

Hey, Scripting Guy! Question How can I open a specific script and the Windows PowerShell ISE at the same time?

Hey, Scripting Guy! Answer Use the Windows PowerShell_ISE command from the Windows PowerShell console,
            a command prompt or the Start/Run command. Specify the –File option and supply
            one or more scripts to the command. The following command opens two scripts, Bios.ps1
            and Bogus.ps1 from the current directory:

PowerShell_ISE –file “.\Bios.ps1,Bogus.ps1”

0 comments

Discussion is closed.

Feedback usabilla icon