# Show-Confirm

Shows a user a confirmation request message box.

## Syntax

Show-Confirm \[-Title] \<String>

## Detailed Description

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

## Parameters

### -Title \<String>

Text to show the user in the dialog.

| Aliases                     |                |
| --------------------------- | -------------- |
| Required?                   | true           |
| Position?                   | 1              |
| Default Value               |                |
| Accept Pipeline Input?      | true (ByValue) |
| Accept Wildcard Characters? | false          |

## Outputs

The output type is the type of the objects that the cmdlet emits.

* System.String

## Notes

Help Author: Adam Najmanowicz, Michael West

## Examples

### EXAMPLE

```powershell
PS master:\> Show-Confirm -Title "Do you like Sitecore PowerShell Extensions?"

yes
```

## Related Topics

* [Read-Variable](https://doc.sitecorepowershell.com/appendix/common/read-variable)
* [Show-Alert](https://doc.sitecorepowershell.com/appendix/common/show-alert)
* [Show-Application](https://doc.sitecorepowershell.com/appendix/common/show-application)
* [Show-FieldEditor](https://doc.sitecorepowershell.com/appendix/common/show-fieldeditor)
* [Show-Input](https://doc.sitecorepowershell.com/appendix/common/show-input)
* [Show-ListView](https://doc.sitecorepowershell.com/appendix/common/show-listview)
* [Show-ModalDialog](https://doc.sitecorepowershell.com/appendix/common/show-modaldialog)
* [Show-Result](https://doc.sitecorepowershell.com/appendix/common/show-result)
* [Show-YesNoCancel](https://doc.sitecorepowershell.com/appendix/common/show-yesnocancel)
* <https://github.com/SitecorePowerShell/Console/>
