Cmdlet.ShouldContinue Method

Requests confirmation of an operation from the user. This is typically a second query to the user. The variants of this method can send the query with or without providing yesToall or noToall options to the user.

This method is typically called after a call to the ShouldProcess method to gather additional feedback from the user. For more information about confirmation requests, see Requesting Confirmation.

For more information about cmdlets, see Windows PowerShell Cmdlets.

NameDescription
Cmdlet.ShouldContinue (String, String)Requests confirmation of an operation from the user by sending a second query to the user.
Cmdlet.ShouldContinue (String, String, Boolean, Boolean)Requests confirmation of an operation from the user by sending a second query to the user with yesToall and noToall options.


Show:
© 2014 Microsoft