Accessing PowerShell history with up-arrow
powershell, windows
Solution
You cannot. There is no API for accessing a console program's history.
Problem
I recently switched to powershell since my Cygwin bash started giving me senseless compilation errors when using maven. I've found how to save and restore my command history in (https://stackoverflow.com/questions/9259723/is-there-a-windows-shell-tool-can-keep-history), which seems to work (using "History" will show the recent commands after a clean start). What I can't seem to do is access this history with the up arrow like you would if the command was used in the current session. Any ideas?