Bewerken

Delen via


Requesting Confirmation

This section discusses confirmation messages that can be displayed before a cmdlet, function, or provider performs an action.

In This Section

Requesting Confirmation Process for Commands Discusses the process that cmdlets, functions, and providers must follow to request a confirmation before they make a change to the system.

Users Requesting Confirmation Discusses how users can make a cmdlet, function, or provider request confirmation when the System.Management.Automation.Cmdlet.ShouldProcess method is called.

Confirmation Messages Provides samples of the different confirmation messages that can be displayed.

See Also

Writing a Windows PowerShell Cmdlet