PSDataStreams.Error PSDataStreams.Error PSDataStreams.Error Property

Definition

Gets or sets the error buffer. Powershell invocation writes the error data into this buffer.

public System.Management.Automation.PSDataCollection<System.Management.Automation.ErrorRecord> Error { get; set; }
member this.Error : System.Management.Automation.PSDataCollection<System.Management.Automation.ErrorRecord> with get, set
Public Property Error As PSDataCollection(Of ErrorRecord)
Property Value
Exceptions

Powershell instance cannot be changed in its current state.

Applies to