Shows a user a confirmation request message box.
Show-Confirm [-Title] <String>
Shows a user a confirmation request message box. Returns "yes" or "no" based on user's response. The buttons that are shown to the user are "OK" and "Cancel".
© 2010-2019 Adam Najmanowicz, Michael West. All rights reserved. Sitecore PowerShell Extensions
Text to show the user in the dialog.
Required?
true
Position?
1
Default Value
Accept Pipeline Input?
true (ByValue)
Accept Wildcard Characters?
false
The output type is the type of the objects that the cmdlet emits.
System.String
Help Author: Adam Najmanowicz, Michael West
Read-Variable
Show-Alert
Show-Application
Show-FieldEditor
Show-Input
Show-ListView
Show-ModalDialog
Show-Result
Show-YesNoCancel
https://github.com/SitecorePowerShell/Console/arrow-up-right
Last updated 3 years ago
PS master:\> Show-Confirm -Title "Do you like Sitecore PowerShell Extensions?" yes