In Bash, you can reverse search your history using Ctrl-R and start typing. Is there a similar feature in Windows PowerShell ISE?
Asked
Active
Viewed 2,853 times
4
-
1possible duplicate of http://superuser.com/questions/103178/powershell-history-enhancements-readline ? – SimonS Jun 17 '16 at 11:47
-
1So the answer is typing `#` instead of `Ctrl-R`. – Michael S. Jun 19 '16 at 15:09
-
Edit: # does work :D MSC, feel free to post in the answer section. – Vimes Mar 24 '17 at 00:17
2 Answers
4
The solution is to press #, type the partial match of the wanted command and complete by pressing tab.
Michael S.
- 3,987
- 8
- 42
- 64
3
Daniel Kotin
- 156
- 4
-
2True for Powershell in Windows 10, in Windows 7 it does not work. And when using Windows PowerShell ISE Ctrl+R opens a new script editing window. Do you know how to do it there? – Michael S. May 24 '18 at 13:49
