Getting ready

Find all of the commands that take in ComputerName as a parameter, with minimal keystrokes:

PS> get-comm<Tab>-parametern<Tab>Cn

This resolves to the following:

PS> Get-Command -ParameterName Cn

The output was the same as that we ran a while ago:

PS> Get-Command -ParameterName ComputerName

How did PowerShell know that Cn stands for ComputerName?

Get PowerShell Core for Linux Administrators Cookbook 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.