PowerTip: Determine Which Files in ISE Are Saved

Doctor Scripto

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



Discussion is closed.

Feedback usabilla icon