

Quick Tip - See All The Tab-Completion Options At Once In The PowerShell Console
source link: https://thomasrayner.ca/quick-tip-see-all-the-tab-completion-options-at-once-in-the-powershell-console/
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.

Quick Tip - See All The Tab-Completion Options At Once In The PowerShell Console
If you’re used to working in VS Code or the PowerShell ISE, you’ve undoubtedly enjoyed intellisense which is the feature that shows you all the tab completion options at once. That functionality is really handy, but what if you’re in the PowerShell console? The little overlayed windows don’t pop up there with your completion options. You can still tab through until you find what you want, but it’s not the same.
Don’t worry, there’s a PSReadline feature that will save you here.
Start typing something, like a cmdlet, and then instead of tab completing it, use Ctrl + Space to see the different options available to you. You can navigate through the different options using the arrow keys. Check out this gif of this feature in action.

Super handy. I love this feature for hunting through different parameters for a cmdlet.
Recommend
-
20
Quick Tip - Split A PowerShell Collection Into Two Arrays Did you know that you can use Where-Object to split a collection into two arrays? Like, if you had an array containing the numbers 1 to 10, you c...
-
7
Quick Tip - PowerShell Supports Partial Parameter Names Did you know that PowerShell supports the usage of partial parameter names? This isn’t such a big deal since tab completion is a thing… and if you’re writing code,...
-
12
PowerShell Tip - Another Take On Progress Reporting Normally in PowerShell if you want to report progress on a long running task, you’d use a progress bar using the Write-Progress cmdlet. That’s definite...
-
8
Beginner PowerShell Tip - Using Variable Properties In Strings If you’re just getting started in PowerShell, it’s possible that you haven’t bumped into this specific issue yet. Say you’ve got a variable named $user
-
15
Quick Tip - Use PowerShell To See How Many Files Are In A Directory Here’s a way to see how many files are in a directory, using PowerShell. As you likely know, you can use Get-ChildItem to get...
-
10
Quick Tip - Diagnosing Slow PowerShell Load Times I could write an entire book on “why does my PowerShell console take so long to load?” but I don’t want to write that book. Instead, here’s a way to make sure the reason...
-
20
Quick Tip - Create New LPR Printers Using PowerShell There are a bunch of overloads for Add-Printer and Add-PrinterPort to accommodate different kinds of printers and ports. I found it t...
-
14
Quick Tip - Use PowerShell To Detect If A Location Is A Directory Or A Symlink In PowerShell, symbolic links (symlinks) appear pretty transparently when you’r...
-
15
A quick PowerShell tip I have a bunch of PowerShell functions that I stick in my $profile file. Simple stuff, things to make my day to day development work easier. With my sieve-like memory, I need a quick way...
-
7
With this article I will go over how I enabled Pulumi Command-Line Completion to PowerShell. Since Pulumi does not have built in completion generation for PowerShell I had to...
About Joyk
Aggregate valuable and interesting links.
Joyk means Joy of geeK