January 7th, 2016

PowerTip: List All Files Open in PowerShell ISE

Doctor Scripto
Scripter

Summary: Get a list of all files that are currently open in the Windows PowerShell ISE.

Hey, Scripting Guy! Question How can I pull a list of anything that I am currently editing in the Windows PowerShell ISE?

Hey, Scripting Guy! Answer Use this command to get the entire list of files (including the full file path) that are currently open
            in the PowerShell ISE:

$psISE.PowerShellTabs.files.FullPath

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.

1 comment

Discussion is closed. Login to edit/delete existing comments.

Newest
Newest
Popular
Oldest
  • mohamad shojaei

    why its not working for me?? my windows have any problem ?? i use the command in powershell and nth happends!!

Feedback