Share via


PSJob.Output Property

Gets and sets the output of the PSJob.

Namespace: System.Management.Automation
Assembly: System.Management.Automation (in system.management.automation.dll)

Usage

Syntax

'Declaration
Public Property Output As PSDataCollection(Of PSObject)
public PSDataCollection<PSObject> Output { get; set; }
public:
property PSDataCollection<PSObject^>^ Output {
    PSDataCollection<PSObject^>^ get ();
    void set (PSDataCollection<PSObject^>^ value);
}
/** @property */
public PSDataCollection<PSObject> get_Output ()

/** @property */
public void set_Output (PSDataCollection<PSObject> value)
public function get Output () : PSDataCollection<PSObject>

public function set Output (value : PSDataCollection<PSObject>)

Property Value

A PSDataCollection collection that contains the output from the pipeline executed by the PSJob.

Exceptions

Exception type Condition
ArgumentNullException

Property is set to null. Set this property to anon-null value.

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Platforms

Development Platforms

Windows Server 2008, Windows Vista, Windows Server 2003, Windows XP

Target Platforms

Windows Server 2008, Windows Server 2003, Windows Vista, Windows XP

See Also

Reference

PSJob Class
PSJob Members
System.Management.Automation Namespace