Show-YesNoCancel
Shows Yes/No/Cancel dialog to the user and returns user choice.
Syntax
Show-YesNoCancel [-Title <String>] [-Width <Int32>] [-Height <Int32>]
Detailed Description
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
Parameters
-Title <String>
Question to ask the user in the dialog
Required?
false
Position?
named
Default Value
Accept Pipeline Input?
false
Accept Wildcard Characters?
false
-Width <Int32>
Width of the dialog.
Required?
false
Position?
named
Default Value
Accept Pipeline Input?
false
Accept Wildcard Characters?
false
-Height <Int32>
Height of the dialog.
Required?
false
Position?
named
Default Value
Accept Pipeline Input?
false
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
Related Topics
Last updated