Write Verbose(String) Method
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Display verbose information
public: void WriteVerbose(System::String ^ text);
public: void WriteVerbose(Platform::String ^ text);
void WriteVerbose(std::wstring const & text);
public void WriteVerbose (string text);
member this.WriteVerbose : string -> unit
Public Sub WriteVerbose (text As String)
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.
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.