Prev | Current Page 78 | Next

Joezer Cookey-Gam, Brendan Keane, Jeffrey Rosen, and Jonathan Runyon

"Professional Windows PowerShell for Exchange Server 2007 Service Pack 1"


Chapter 2: Using Exchange Management Shell
45
Working with Output
You may have noticed that most everything you do in Windows PowerShell results in the output of
some information to the screen. That is certainly true of all cmdlets that use the Get verb, and usually the
case for cmdlets that have been designed to give some feedback to the user so you know the outcome of
running the cmdlet.
Any cmdlet that produces output at the end of the pipeline stream passes that information to an unseen
cmdlet called Out-Host . Anything at the end of the pipeline that is not redirected to another cmdlet is
automatically handled by Out-Host . Out-Host does not have to be explicitly called because it is the
default output handler. The output that appears on the screen can take one of two forms: raw and
formatted.
Raw output is just raw object information without any special formatting. All properties for the
object are displayed along with their current values. If there are multiple objects in the stream,
the property values for all objects are displayed. The information is displayed in ??? list ??? form,
with each property on a single line.
Formatted output is formatted to show what the cmdlet designer decided was the most
interesting information in the most useful form. The information is typically in ??? table ??? form,
with one or more properties for each object on a single line, with header labels at the top to
identify each property.


Pages:
66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90
drukarki fiskalne kraków willa karmazyn międzyzdroje www.books61.hobbitstory.com terapia magnetyczna Informacje o hostingu