Free Trial

Safari Books Online is a digital library providing on-demand subscription access to thousands of learning resources.


  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • DownloadDownload
  • PrintPrint

Using Built-in Aliases

A number of aliases come built in. For example, when you type ft, you are actually using an alias that maps to the cmdlet Format-Table. You don’t need to include any built-in aliases in your PowerShell profile file. You already have access to them even if you are not using a PowerShell profile.

PS C:\Users\
Administrator>
Get-Alias
PS C:\Users\
Administrator>
Get-Alias | Measure

This cmdlet allows you to view the list of the built-in aliases included with Exchange Management Shell. There are 139 built-in aliases in Exchange Management Shell in the RTM version of Exchange 2010. The second example will count them for you. (Note the use of an alias to count the number of aliases. Measure is an alias for Measure-Object.)



  

You are currently reading a PREVIEW of this book.

                                                                                        

Get instant access to over
$1 million worth of books and videos.

  

Start a Free Trial