PowerTip: List all scripts open in Windows PowerShell ISE


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

Comments (0)

Skip to main content