PowerTip: List all scripts open in Windows PowerShell ISE

Doctor Scripto

Summary: List all the scripts that are open in the Windows PowerShell ISE.

Hey, Scripting Guy! Question How can I find which scripts are open in the Windows PowerShell ISE and if they are saved?

Hey, Scripting Guy! Answer Use the ISE object model and display the Files collection from the PowerShellTabs collection:

$psISE.PowerShellTabs.Files

0 comments

Discussion is closed.

Feedback usabilla icon