You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[PowerShell 7 Preview 3] Typing commands with different casing returns different suggestions #10546
Issue-Questionideally support can be provided via other mechanisms, but sometimes folks do open an issue to get aResolution-FixedThe issue is fixed.WG-Enginecore PowerShell engine, interpreter, and runtime
I'm not talking about tab completion. :)
I'm talking about suggestions when you mistype a command:
PS C:\>get-winevenget-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-WinEvenGet-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.
Issue-Questionideally support can be provided via other mechanisms, but sometimes folks do open an issue to get aResolution-FixedThe issue is fixed.WG-Enginecore PowerShell engine, interpreter, and runtime
Activity
vexx32 commentedon Sep 15, 2019
I'm not seeing this on my system. 🤔
Both casing variants tab complete to
Get-WinEventfor me.alexandair commentedon Sep 15, 2019
I'm not talking about tab completion. :)
I'm talking about suggestions when you mistype a command:
vexx32 commentedon Sep 15, 2019
Ahh, gotcha.
Steve Lee (@SteveL-MSFT) something to do with the string similarity algorithm, perhaps?
iSazonov commentedon Sep 16, 2019
Fix pulled.