VerbsDiagnostic Class
TOC
Collapse the table of content
Expand the table of content

VerbsDiagnostic Class

 

Updated: April 27, 2016

Applies To: Windows PowerShell

Defines the diagnostic verb names that can be used to specify the action of a cmdlet, such as Debug, Ping, and Trace.

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

System.Object
  System.Management.Automation.VerbsDiagnostic

public static class VerbsDiagnostic

NameDescription
System_CAPS_pubfieldSystem_CAPS_staticDebug

Specifies an action that examines a resource to diagnose operational problems.

System_CAPS_pubfieldSystem_CAPS_staticMeasure

Specifies an action that identifies resources that are consumed by a specified operation or retrieves statistics about a resource.

System_CAPS_pubfieldSystem_CAPS_staticPing

Specifies an action that determines if a resource is active and is responding to requests.

System_CAPS_pubfieldSystem_CAPS_staticRepair

Specifies an action that restores a resource to a usable condition. This field is introduced in Windows PowerShell 2.0.

System_CAPS_pubfieldSystem_CAPS_staticResolve

Specifies an action that maps a shorthand representation of a resource to a more complete representation.

System_CAPS_pubfieldSystem_CAPS_staticTest

Specifies an action that verifies the operation or consistency of a resource.

System_CAPS_pubfieldSystem_CAPS_staticTrace

Specifies an action that tracks the activities of a resource.

The verb portion of a cmdlet name specifies the action that is taken by the cmdlet and is specified by the Cmdlet attribute. For more information about the declaration syntax used to specify the Cmdlet attribute, see Cmdlet Attribute Declaration.

For more information about the guidelines for selecting verb names, see Approved Verbs for Windows PowerShell Commands.

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

Return to top

Community Additions

ADD
Show:
© 2016 Microsoft