Recent Items in ISE

Ask your PowerShell-related questions, including questions on cmdlet development!
Forum rules
Do not post any licensing information in this forum.

Any code longer than three lines should be added as code using the 'Select Code' dropdown menu or attached as a file.
Locked
User avatar
JohnTitor
Posts: 153
Joined: Fri Nov 17, 2017 8:49 pm

Recent Items in ISE

Post by JohnTitor »

I know this is more of an OS question but I can't find the path searching the web. How can I clear the context recent items
ISE.png
ISE.png (19.02 KiB) Viewed 3217 times

jvierra
Posts: 14543
Joined: Tue May 22, 2007 9:57 am
Contact:

Re: Recent Items in ISE

Post by jvierra »

You would have to clear the MRU registry key which is different for each program.

User avatar
JohnTitor
Posts: 153
Joined: Fri Nov 17, 2017 8:49 pm

Re: Recent Items in ISE

Post by JohnTitor »

Yes, I know that for most applications but I can't seem to find the one for ISE

jvierra
Posts: 14543
Joined: Tue May 22, 2007 9:57 am
Contact:

Re: Recent Items in ISE

Post by jvierra »

You will have to search. I doubt that most people even care about this. The MRU only lists the last N files for convenience.

jvierra
Posts: 14543
Joined: Tue May 22, 2007 9:57 am
Contact:

Re: Recent Items in ISE

Post by jvierra »

Have you tried this:

$psise.Options.MruCount

jvierra
Posts: 14543
Joined: Tue May 22, 2007 9:57 am
Contact:

Re: Recent Items in ISE

Post by jvierra »

The correct name for these aer "jump lists" and they can only be cleared by clearing all jump lists.

The data for individual jump lists is stored here:

$env:USERPROFILE\AppData\Roaming\Microsoft\Windows\Recent\AutomaticDestinations

User avatar
JohnTitor
Posts: 153
Joined: Fri Nov 17, 2017 8:49 pm

Re: Recent Items in ISE

Post by JohnTitor »

$psise.Options.MruCount
that equals 10, but I've cleared way more than that lol

User avatar
JohnTitor
Posts: 153
Joined: Fri Nov 17, 2017 8:49 pm

Re: Recent Items in ISE

Post by JohnTitor »

Looks like I had to turn it off, then back on and it cleared it

Settings > Personalization > Start > "Show recently opened items in Jump Lists on Start or the taskbar"

Locked