Dela via


ICommandRuntime.WriteVerbose(String) Method

Definition

Called when the cmdlet want to 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);
[System.Runtime.CompilerServices.NullableContext(1)]
public void WriteVerbose (string text);
abstract member WriteVerbose : string -> unit
[<System.Runtime.CompilerServices.NullableContext(1)>]
abstract member WriteVerbose : string -> unit
Public Sub WriteVerbose (text As String)

Parameters

text
String

Verbose output.

Attributes

Remarks

Cmdlets use WriteVerbose to display more detailed information about the activity of the 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.

The implementation of this API should display this addition information in an appropriate manner e.g. in a different color in a console application or in a separate window in a GUI application.

Applies to

See also