Show-YesNoCancel
Last updated
Shows Yes/No/Cancel dialog to the user and returns user choice.
Show-YesNoCancel [-Title <String>] [-Width <Int32>] [-Height <Int32>]
Shows Yes/No/Cancel dialog to the user and returns user choice as a string value.
Depending on the user response one of the 2 strings is returned:
yes
no
cancel
© 2010-2019 Adam Najmanowicz, Michael West. All rights reserved. Sitecore PowerShell Extensions
Question to ask the user in the dialog
Required?
false
Position?
named
Default Value
Accept Pipeline Input?
false
Accept Wildcard Characters?
false
Width of the dialog.
Required?
false
Position?
named
Default Value
Accept Pipeline Input?
false
Accept Wildcard Characters?
false
Height of the dialog.
Required?
false
Position?
named
Default Value
Accept Pipeline Input?
false
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
Last updated
PS master:\> Show-YesNoCancel "Should we delete those 2 items?"
cancel