My Powershell ISE is crashing upon being launched; and I believe it is due to a tab/file that is being loaded when ISE returns from being exited incorrectly. As a result, I'm currently unable to launch ISE.. I'm looking for the file/location where Powershell ISE stores the tabs/files that are currently opened so that I can delete it and make it start without loading anything. I am able to start it as another user with no issues.
Users looking for replacement for the ISE should use Visual Studio Code with the PowerShell Extension.
The PowerShell ISE is no longer in active feature development. As a shipping component of Windows, it continues to be officially supported for security and high-priority servicing fixes.
The principal difference between the two is convenience. PowerShell is a simpler and more straightforward scripting and execution environment, while the ISE provides more flexible and forgiving editing and execution features. PowerShell can be a good platform for simple tasks where actions are clear.
On the File menu, click New PowerShell Tab. The new PowerShell tab always opens as the active window. PowerShell tabs are incrementally numbered in the order that they are opened.
This will always give you the correct path:
(Resolve-Path "$env:LOCALAPPDATA\Microsoft_Corporation\powershell_ise*").Path
Using Process Monitor, I've found that the ISE stores and loads its recovered files from:
%LOCALAPPDATA%\Microsoft_Corporation\powershell_ise.exe_StrongName_lw2v2vm3wmtzzpebq33gybmeoxukb04w\3.0.0.0\AutoSaveFiles
Holds true for both Windows 7 with PS 3.0, Windows 8.1 with PS 4.0 and Windows 10 with PS 5.1
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With