Cmdlet.WriteVerbose
Method
Definition
Display verbose information
public void WriteVerbose (string text);
- text
- String
verbose output
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. WriteVerbose may only be called during a call to this Cmdlets's implementation of ProcessRecord, BeginProcessing or EndProcessing, and only from that thread.
Remarks
Use WriteVerbose to display more detailed information about the activity of your Cmdlet. By default, verbose output will not be displayed, although this can be configured with the VerbosePreference shell variable or the -Verbose and -Debug command-line options.