VerboseRecord Class
Collapse the table of content
Expand the table of content

VerboseRecord Class

Describes a verbose message sent to the verbose stream, plus information about the command that sent the message. This class is introduced in Windows PowerShell 2.0.

Namespace: System.Management.Automation
Assembly: System.Management.Automation (in System.Management.Automation.dll)

Dim instance As VerboseRecord

public ref class VerboseRecord : public InformationalRecord
/** @attribute DataContractAttribute() */ 
public class VerboseRecord extends InformationalRecord
public class VerboseRecord extends InformationalRecord

When a command sends a message to the verbose stream, the Windows PowerShell runtime creates the verbose record that includes the original message plus information such as the name of the command, the string used to run the command, and the location of the command in the pipeline.

Verbose messages are sent when a cmdlet calls the System.Management.Autoation.Cmdlet.WriteVerbose(System.String) method, or a provider calls the CmdletProvider.WriteVerbose method.

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.


Target Platforms


VerboseRecord Members
System.Management.Automation Namespace

Other Resources

Windows PowerShell SDK

© 2016 Microsoft