How to get cmd suggestion in PowerShell like in PowerShell ISE?

SAM2009
SAM2009 used Ask the Experts™
on
Hi,

Simple question. In PowerShell ISE every times I type a cmd the PowerShell suggests me a list of paramaters or functions automatically. Is there something similar in normal PowerShell. I'm tired to search the syntax in the web...:-)

Thanks
Comment
Watch Question

Do more with

Expert Office
EXPERT OFFICE® is a registered trademark of EXPERTS EXCHANGE®
Top Expert 2014
Commented:
You still have tab-completion in the console.  For example, type:
Get-Date -<tab>
Each time you press <tab> it will cycle to another parameter.  You just don't see a list of everything all at once.
Most Valuable Expert 2018
Distinguished Expert 2018
Commented:
There's always searchable help in a separate window:
Get-Help -ShowWindow Some-Cmdlet

Open in new window

Or similar, but you get separate tabs for Parameter Sets, and you can fill the arguments in a GUI and then copy them to the clipboard:
Show-Command Some-Cmdlet

Open in new window

And finally, there's the PSReadline module (installed by default since Windows 10, can be manually installed on earlier versions as well).
The one you're probably looking for is <Ctrl>-<Space>
Enter, for example
Get-Item -, followed by <Ctrl>-<Space>
Works for cmdlets, too:
Get-It, followed by <Ctrl>-<Space>
Works for available methods, classes, etc. as well.

Run
Get-PSReadLineKeyHandler

Open in new window

to see a list of all available shortcuts.

Author

Commented:
Thanks!

Do more with

Expert Office
Submit tech questions to Ask the Experts™ at any time to receive solutions, advice, and new ideas from leading industry professionals.

Start 7-Day Free Trial