Windows PowerShell ISE: Add ability to save/load session state - by deadlydog

Status : 

 


25
0
Sign in
to vote
ID 790578 Comments
Status Active Workarounds
Type Suggestion Repros 0
Opened 6/20/2013 9:46:31 AM
Access Restriction Public

Description

It would be great if PS ISE had the ability to allow you to save and restore all of your open tabs and files.  Ideally, there would be an option to automatically save the session when ISE is closed, and automatically load it when ISE is started.  As of PS ISE v3 this functionality is not provided out of the box.

The PowerShell Team has blogged about how to save/load your session by writing an add-on (http://blogs.msdn.com/b/powershell/archive/2010/06/05/export-and-import-powershell-ise-opened-files.aspx), and I have blogged about how to automatically load the session when ISE starts using their solution (http://blog.danskingdom.com/powershell-ise-multiline-comment-and-uncomment-done-right-and-other-ise-gui-must-haves/), but it would be great if this functionality was provided out of the box.
Sign in to post a comment.
Posted by Anirudh Ranganath on 10/10/2014 at 6:51 PM
Would also be nice if it could save variables in memory (say, assigned via console), and breakpoints.
Posted by Andy Nadarewistsch on 5/13/2014 at 5:24 PM
This is a needed request, in addition it would be nice to have the capability to be able to save as tab like a "project" where when opening that tab all saved files open with it. The ability seems like it would be easy to build in!.