Is There an Autocomplete Feature for PowerShell Commands?

0
23
Asked By CuriousCoder88 On

I'm curious if there's any plugin, modification, or alternative for PowerShell that offers autocomplete and can correct typos in my commands. For example, if I type 'winfet,' I'd like it to suggest 'winget' instead. It would also be great if it could help with common commands like 'ssh username@___' by suggesting options after 'ssh.' While PowerShell saves IPs, I'm looking for something that goes beyond that. Basically, I'm in search of the PowerShell equivalent of Notepad++ when it comes to command assistance. Does such a tool exist?

2 Answers

Answered By TechSavvySam On

PowerShell has a feature called Intellisense. If you're looking for a more enhanced experience, try installing Visual Studio Code along with the PowerShell plugin—it's a game changer!

Answered By InfoFinder007 On

Have you tried doing a quick search? I found this interesting guide on Microsoft's website about autocompleting in PowerShell: https://techcommunity.microsoft.com/blog/itopstalkblog/autocomplete-in-powershell/2604524

CuriousCoder88 -

I actually checked that out and ran a script related to it (I think it’s called PSReadline), but it doesn't really autocorrect or suggest corrections for typos like I was hoping. I'm after something that gives me suggestions while typing, for common commands, especially when I mess up spelling. I now realize I referred to it as "autocomplete" instead of "autocorrect," but that’s really what I need. It's getting late, and my brain's a bit foggy, so I'll dig into this more tomorrow. Thanks for the help!

Related Questions

LEAVE A REPLY

Please enter your comment!
Please enter your name here

This site uses Akismet to reduce spam. Learn how your comment data is processed.