Windows Dev Center

The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

Cmdlet.WriteObject Method

Writes an object to the output pipeline. The variants of this method can be used to write a single object or an object that can be enumerated.

For more information about cmdlets, see Windows PowerShell Cmdlets.

Cmdlet.WriteObject (Object)Writes a single object to the output pipeline.
Cmdlet.WriteObject (Object, Boolean)Writes an object to the output pipeline that can be enumerated by Windows PowerShell.

© 2015 Microsoft