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.

Public Fields

Name Description
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.
Assert Specifies an action that affirms the state of a resource. This field is introduced in Windows PowerShell 2.0.
Complete Specifies an action that concludes an operation. This field is introduced in Windows PowerShell 2.0.
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.
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.
Disable Specifies an action that configures a resource to an unavailable or inactive state.
Enable Specifies an action that configures a resource to an available or active state. For example, the Enable-PSBreakpoint cmdlet makes a breakpoint active.
Install Specifies an action that places a resource in a location, and optionally initializes it.
Invoke Specifies an action that runs a command or method. This field is introduced in Windows PowerShell 2.0.
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.
Request Specifies an action that asks for a resource or asks for permissions. This field is introduced in Windows PowerShell 2.0.
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.
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.
Start Specifies an action that initiates an operation. For example, the Start-Service cmdlet starts a service.
Stop Specifies an action that discontinues an activity.
Submit Specifies an action that presents a resource for approval. This field is introduced in Windows PowerShell 2.0.
Suspend Specifies an action that pauses an activity. For example, the Suspend-Service cmdlet pauses a service.
Uninstall Specifies an action that removes a resource from an indicated location.
Unregister Specifies an action that removes the entry for a resource from a repository. This field is introduced in Windows PowerShell 2.0.
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