Smart Auto-Completion

by Feb 3, 2010

When you press Tab to auto-complete, PowerShell will look at what you have entered so far to find the most appropriate suggestion. One little known fact is that you can use wildcards. Have a look:

C:\p*f [TAB]

When you press Tab, PowerShell will only suggest paths that have a "p" and then somewhere else an "f" in its name, such as c:\program files.

Twitter This Tip! ReTweet this Tip!