Show-MessageBox
SYNOPSIS
Shows Message Box.
SYNTAX
Show-MessageBox [-Text] <String> [-Title] <String> [[-Timeout] <Int32>]
[<CommonParameters>]
DESCRIPTION
Shows Message Box.
EXAMPLES
EXAMPLE 1
Show-MessageBox -Text 'Maintenance is complete.' -Title 'Keldor' -Timeout 15
Displays an informational message box for up to 15 seconds.
PARAMETERS
-Text
Specifies the Text value.
Type: String
Parameter Sets: (All)
Aliases:
Required: True
Position: 1
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
-Title
Specifies the Title value.
Type: String
Parameter Sets: (All)
Aliases:
Required: True
Position: 2
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
-Timeout
Specifies the Timeout value.
Type: Int32
Parameter Sets: (All)
Aliases:
Required: False
Position: 3
Default value: 10
Accept pipeline input: False
Accept wildcard characters: False
CommonParameters
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.
INPUTS
OUTPUTS
None
NOTES
ALIASES
None.
PLATFORM APPLICABILITY
Windows only. The platform-aware loader does not export this command on Linux or macOS.
POWERSHELL COMPATIBILITY
See PowerShell compatibility for the supported runtime policy. PowerShell 7.6 LTS is preferred.