Datasheet
Part I: PowerShell for Exchange Fundamentals
28
Format - Table
Format-Table (and its alias, ft ) is similar to Format-List except it allows you to format output in
table format. Unlike
Format-List , passing objects to Format-Table without any additional parameters
results in one of two displays. If the default format for displaying output is table format of select
properties, the default format is used for display. If the default format is a list of all properties, Windows
PowerShell attempts to display as many of the properties as possible in table format. This is usually very
impractical so
Format-Table is typically used with a list of properties to display.
If
Format-Table is used in place of Format-List in the previous example, the resulting display would
look like Figure 1 - 22 .
Figure 1-22
As more properties are specified, or if property values are longer than can be displayed on a single line,
Windows PowerShell truncates the output with ellipses to indicate more information is available as
shown in Figure 1 - 23 where the
LegacyExchangeDN property has been added to the previous command.
Figure 1-23
c01.indd 28c01.indd 28 12/17/07 3:19:31 PM12/17/07 3:19:31 PM