I just started with the PowerShell course, in the Command History segment it mentioned to use the F7, and F9 keys, I cannot seem to get those to work. Is there a setting to activate them?
-
Solved PowerShell
-
We've done some testing and found that in Windows 7, the F9 key was able to still work but the F7 key didn't. In Windows 10, neither keys seem to work. We're not sure exactly if updated version of powershell has deprecated these shortcuts.
Cordially,
Ronnie Wong
Edutainer Manager, ITProTV*if the post above has answered the question, please mark as solved.
**All "answers" and responses are offered "as is" and my opinion. There is no implied service, support, or guarantee by ITProTV. -
sorry about the delay in research time. I've traced a couple of items down for this F7 and F9. The
PSReadLine
is embedded. But...as always, there is a but it's not as functional as it once was the new recommendation instead isCTRL+R
(Reverse History) andCTRL+S
for an interactive search.You can run
Get-PSReadlineKeyHandler
to list the available shortcuts andSet-PSReadlineKeyHandler
to assign F7 to the search history functionsCordially,
Ronnie Wong
Edutainer Manager, ITProTV*if the post above has answered the question, please mark as solved.
**All "answers" and responses are offered "as is" and my opinion. There is no implied service, support, or guarantee by ITProTV. -
With no additional post, I've marked this one as solved
Cordially,
Ronnie Wong
Edutainer Manager, ITProTV*if the post above has answered the question, please mark as solved.
**All "answers" and responses are offered "as is" and my opinion. There is no implied service, support, or guarantee by ITProTV.