Sitecore PowerShell Extensions
Slack
YouTube
Stack Exchange
Donate
Search…
Introduction
Disclaimer
Installation
Training
Community
Interfaces
Working with Items
Modules
Remoting
Security
Releases
Troubleshooting
Code Snippets
Appendix
Common
Add-BaseTemplate
Add-ItemVersion
Close-Window
ConvertFrom-CliXml
ConvertFrom-ItemClone
ConvertTo-CliXml
Expand-Token
Get-Archive
Get-ArchiveItem
Get-Cache
Get-Database
Get-ItemClone
Get-ItemCloneNotification
Get-ItemField
Get-ItemReference
Get-ItemReferrer
Get-ItemTemplate
Get-ItemWorkflowEvent
Get-SitecoreJob
Get-SpeModule
Get-SpeModuleFeatureRoot
Get-TaskSchedule
Get-UserAgent
Import-Function
Invoke-JavaScript
Invoke-Script
Invoke-ShellCommand
Invoke-Workflow
New-ItemClone
New-ItemWorkflowEvent
New-UsingBlock
Out-Download
Publish-Item
Read-Variable
Receive-File
Receive-ItemCloneNotification
Remove-BaseTemplate
Remove-ArchiveItem
Remove-ItemVersion
Reset-ItemField
Restart-Application
Restore-ArchiveItem
Send-File
Send-SheerMessage
Set-HostProperty
Set-ItemTemplate
Show-Alert
Show-Application
Show-Confirm
Show-FieldEditor
Show-Input
Show-ListView
Show-ModalDialog
Show-Result
Show-YesNoCancel
Start-TaskSchedule
Test-BaseTemplate
Test-Rule
Update-ItemReferrer
Update-ListView
Write-Log
Indexing
Packaging
Presentation
Provider
Security
Session
Powered By
GitBook
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
Text
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
1
PS
master:\>
Show-Confirm
-
Title
"Do you like Sitecore PowerShell Extensions?"
2
​
3
yes
Copied!
Related Topics
​
Read-Variable
​
​
Show-Alert
​
​
Show-Application
​
​
Show-FieldEditor
​
​
Show-Input
​
​
Show-ListView
​
​
Show-ModalDialog
​
​
Show-Result
​
​
Show-YesNoCancel
​
​
https://github.com/SitecorePowerShell/Console/
​
Previous
Show-Application
Next
Show-FieldEditor
Last modified
10d ago
Export as PDF
Copy link
Contents
Syntax
Detailed Description
Parameters
-Title <String>
Outputs
Notes
Examples
EXAMPLE
Related Topics