Allows the user to select either Yes or No within the message box rather than being limited only to an OK button. Allows the user to select either Yes, No, or Cancel when a message box is presented. Required with the -YesNo or -YesNoCancel flag to store the result of the user action. When specified, allows the user to open an application and work in that application, without having to respond to the MessageBox. If this parameter is not used, the MessageBox remains the topmost window and the user must respond to the MessageBox before continuing with any other work. An optional parameter, used only with the -YesNo and -YesNoCancel flags. When the -DefaultNo parameter is set, default focus goes to the No button instead of to the Yes button. The text to be displayed to the user. |