Q:

Keep Windows PowerShell's tabs and navigation after restart

I am fairly new at using Windows PowerShell. This is the second day in fact.
I am quite annoyed to realize that yesterdays' tabs are gone for good. The command history is available though. Is there is a possibility to keep all tabs (and the navigation) automatically saved for the next session? Searching for it (in my words) did not deliver an answer to me.

A:

I recommend using VSCode as your main editor, as ISE cannot natively save your tabs.
However, there is a trick that I use which seems to work, and that is to force quit ISE from task manager, or by killing the process.
ISE has an auto recovery feature which brings back the tabs that were open when ISE "crashed".

