VerbsLifecycle Members

Defines the lifecycle verbs, such as Enable, Disable, Start, and Stop, that can be used to name cmdlets.

The following tables list the members exposed by the VerbsLifecycle type.

  Name Description
public field static Approve Specifies an action that confirms or agrees to the status of a resource or process. This field is introduced in Windows PowerShell 2.0.
public field static Assert Specifies an action that affirms the state of a resource. This field is introduced in Windows PowerShell 2.0.
public field static Complete Specifies an action that concludes an operation. This field is introduced in Windows PowerShell 2.0.
public field static Confirm Specifies an action that acknowledges, verifies, or validates the state of a resource or process. This field is introduced in Windows PowerShell 2.0.
public field static Deny Specifies an action that refuses, objects, blocks, or opposes the state of a resource or process. This field is introduced in Windows PowerShell 2.0.
public field static Disable Specifies an action that configures a resource to an unavailable or inactive state.
public field static Enable Specifies an action that configures a resource to an available or active state. For example, the Enable-PSBreakpoint cmdlet makes a breakpoint active.
public field static Install Specifies an action that places a resource in a location, and optionally initializes it.
public field static Invoke Specifies an action that runs a command or method. This field is introduced in Windows PowerShell 2.0.
public field static Register Specifies an action that creates an entry for a resource in a repository, such as a database. This field is introduced in Windows PowerShell 2.0.
public field static Request Specifies an action that asks for a resource or asks for permissions. This field is introduced in Windows PowerShell 2.0.
public field static Restart Specifies an action that stops an operation and then starts it again. For example, the Restart-Service cmdlet stops and then starts a service.
public field static Resume Specifies an action that starts an operation that has been suspended. For example, the Resume-Service cmdlet starts a service that has been suspended.
public field static Start Specifies an action that initiates an operation. For example, the Start-Service cmdlet starts a service.
public field static Stop Specifies an action that discontinues an activity.
public field static Submit Specifies an action that presents a resource for approval. This field is introduced in Windows PowerShell 2.0.
public field static Suspend Specifies an action that pauses an activity. For example, the Suspend-Service cmdlet pauses a service.
public field static Uninstall Specifies an action that removes a resource from an indicated location.
public field static Unregister Specifies an action that removes the entry for a resource from a repository. This field is introduced in Windows PowerShell 2.0.
public field static Wait Specifies an action that pauses an operation until a specified event occurs. For example, the Wait-Job cmdlet pauses the command line until one or more of the background jobs are complete. This field is introduced in Windows PowerShell 2.0.
Top

Send comments about this topic to Microsoft.
Show:
© 2014 Microsoft