Save all opened scripts in PowerShell ISE

Hello,

If you use PowerShell_ISE a lot, you may find that usefull.Once Powershell_ISE is running, it’s autocreate a PowerShell object call “$psISE” :

psISE-Object

So, you can do things like :

$psISE.CurrentPowerShellTab.Files | % {$_.SaveAs($_.FullPath)}

 

 

0 thoughts on “Save all opened scripts in PowerShell ISE

  1. Pingback: Save and Restore PowerShell ISE opened scripts - It For DummiesIt For Dummies

Leave a Reply