Additional Uses of Cmdlets

Now that you have learned about using the help utilities and working with aliases, it's time to examine some additional ways to use cmdlets in Windows PowerShell.


To save time when typing the cmdlet name, simply type enough of the cmdlet name to uniquely distinguish it, and then press the Tab key. What is the result? Tab completion finishes the cmdlet name for you. This also works with argument names and other procedures. Feel free to experiment with this great timesaving technique. You may never have to type get-command again!

As the cmdlets return objects instead of "string values" you can obtain additional information about the returned objects. This additional information would not be available if you were working ...

Get Windows PowerShell™ Scripting Guide now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.