question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

[PowerShell 7 Preview 3] Typing commands with different casing returns different suggestions

See original GitHub issue

This behavior exists on both, Windows and Linux.

For example: Windows: Compare the suggestions for get-wineven and Get-WinEven Linux: Compare the suggestions for get-even and Get-Even

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:5 (1 by maintainers)

github_iconTop GitHub Comments

1reaction
iSazonovcommented, Sep 16, 2019

Fix pulled.

1reaction
alexandaircommented, Sep 15, 2019

I’m not talking about tab completion. 😃 I’m talking about suggestions when you mistype a command:

PS C:\> get-wineven
get-wineven : The term 'get-wineven' is not recognized as the name of a cmdlet, function, script file, or operable program.
Check the spelling of the name, or if a path was included, verify that the path is correct and try again.

Suggestion [4,General]: The most similar commands are: Get-WinEvent, New-WinEvent.

PS C:\> Get-WinEven
Get-WinEven : The term 'Get-WinEven' is not recognized as the name of a cmdlet, function, script file, or operable program.
Check the spelling of the name, or if a path was included, verify that the path is correct and try again.

Suggestion [4,General]: The most similar commands are: Get-WinEvent, New-WinEvent, Get-Event, Get-ASREvent.
Read more comments on GitHub >

github_iconTop Results From Across the Web

Using tab-completion in the shell - PowerShell
This article explains the tab-completion feature of the shell, how to configure it, and how to extend its capabilities.
Read more >
Multiple apps found matching input criteria when trying to ...
A better solution to installing PowerShell7 is to use the install-powershell command in power shell's github repo.
Read more >
Windows PowerShell Commands Cheat Sheet
Become a PowerShell Guru with this PowerShell Cheat Sheet PDF. Quickly reference critical commands - plus Tips, Lists & Step-by-Step ...
Read more >
Windows PowerShell Cheat Sheet
3 Cmdlets. The internal commands of PowerShell are called "cmdlets". ... returns a collection of objects that belong to the different files in...
Read more >
Using UTF-8 Encoding (CHCP 65001) in Command ...
Note: This answer shows how to switch the character encoding in the Windows console to (BOM-less) UTF-8 (code page 65001 ), so that...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found