Show-Alert
Pauses the script and shows an alert to the user.

Syntax

Show-Alert [-Title] <String>

Detailed Description

Pauses the script and shows an alert specified in the -Title to the user. Once user clicks the OK button - script execution resumes.
© 2010-2019 Adam Najmanowicz, Michael West. All rights reserved. Sitecore PowerShell Extensions

Parameters

-Title <String>

Text to show the user in the alert dialog.
Aliases
Text
Required?
true
Position?
1
Default Value
Accept Pipeline Input?
true (ByValue)
Accept Wildcard Characters?
false

Notes

Help Author: Adam Najmanowicz, Michael West

Examples

EXAMPLE

1
PS master:\> Show-Alert "Hello world."
Copied!

Related Topics