Cmdlet.WriteCommandDetail(String) Cmdlet.WriteCommandDetail(String) Cmdlet.WriteCommandDetail(String) Method


Write text into pipeline execution log.

public void WriteCommandDetail (string text);
member this.WriteCommandDetail : string -> unit
Public Sub WriteCommandDetail (text As String)
String String String

text to be written to log


The pipeline has already been terminated, or was terminated during the execution of this method. The Cmdlet should generally just allow PipelineStoppedException to percolate up to the caller of ProcessRecord etc.

Not permitted at this time or from this thread. WriteWarning may only be called during a call to this Cmdlet's implementation of ProcessRecord, BeginProcessing or EndProcessing, and only from that thread.


 Use WriteCommandDetail to write important information about cmdlet execution to
 pipeline execution log.

 If LogPipelineExecutionDetail is turned on, this information will be written
 to monad log under log category "Pipeline execution detail"

Applies to

See Also