January 2nd, 2015

PowerTip: Open PowerShell ISE and a Script

Doctor Scripto
Scripter

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”

Author

The "Scripting Guys" is a historical title passed from scripter to scripter. The current revision has morphed into our good friend Doctor Scripto who has been with us since the very beginning.

0 comments

Discussion are closed.

Feedback