PowerShell Scripts, Tips, Expert Advices, Forums, and Resources

Geek Sync Live

Welcome to PowerShell.com, the educational and community site for Windows PowerShell People. Get a quick overview.

Latest Scripts

03-30-2015 - Add windows system variable
03-30-2015 - Archive files with x days old
03-21-2015 - Run CMD\BAT as PS1

As a Powershell.com member you will have access to:

  • Daily PowerShell tips written by Microsoft MVPs and other leading Windows PowerShell experts
  • Free Windows PowerShell advice and training provided by Microsoft MVPs and other leading Windows PowerShell experts
  • Access to leading Windows PowerShell blogs
  • A free ebook, Mastering PowerShell, written by Microsoft MVP Dr. Tobias Weltner
PowerTip of the Day

ISE Auto-Completion Trick

PowerShell 3.0 ISE and later

When you want to select the information returned by a cmdlet, you typically use Select-Object:

Get-Process | Select-Object -Property Name, Company, Description

However, you would have to manually enter the property names you want to display. There is no IntelliSense popping up after you entered “-Property “.

A little-known trick is to open the IntelliSense menu manually by pressing CTRL+SPACE. As you will see, PowerShell will happily provide a list of available properties, provided the upstream cmdlet defines its output type(s).

To choose more than one property, after entering the comma, simply press CTRL+SPACE again.

Twitter This Tip! ReTweet this Tip!

Copyright 2012 PowerShell.com. All rights reserved.