PowerTip: Determine Which Files in ISE Are Saved

Summary: Easily identify which files have been saved in the PowerShell ISE.

Hey, Scripting Guy! Question How can I see which of my open files in the Windows PowerShell ISE been saved?

Hey, Scripting Guy! Answer To show a list of files that have been saved, run the following code in the ISE.

$psISE.PowerShellTabs.files | where { $_.IsSaved } | Select-Object DisplayName


Comments (0)

Skip to main content