SYNOPSIS
Displays a restart prompt with a countdown to a forced restart.
SYNTAX
Show-InstallationRestartPrompt [[-CountdownSeconds] <Int32>] [[-CountdownNoHideSeconds] <Int32>] [-NoCountdown] [<CommonParameters>]
DESCRIPTION
Displays a restart prompt with a countdown to a forced restart.
PARAMETERS
-CountdownSeconds <Int32>
Specifies the number of seconds to countdown before the system restart.
-CountdownNoHideSeconds <Int32>
Specifies the number of seconds to display the restart prompt without allowing the window to be hidden.
-NoCountdown [<SwitchParameter>]
Specifies not to show a countdown, just the Restart Now and Restart Later buttons.
The UI will restore/reposition itself persistently based on the interval value specified in the config file.
<CommonParameters>
This cmdlet supports the common parameters: Verbose, Debug,
ErrorAction, ErrorVariable, WarningAction, WarningVariable,
OutBuffer, PipelineVariable, and OutVariable. For more information, see
about_CommonParameters (https:/go.microsoft.com/fwlink/?LinkID=113216).
-------------------------- EXAMPLE 1 --------------------------
PS C:\>Show-InstallationRestartPrompt -Countdownseconds 600 -CountdownNoHideSeconds 60
-------------------------- EXAMPLE 2 --------------------------
PS C:\>Show-InstallationRestartPrompt -NoCountdown
REMARKS
To see the examples, type: "get-help Show-InstallationRestartPrompt -examples".
For more information, type: "get-help Show-InstallationRestartPrompt -detailed".
For technical information, type: "get-help Show-InstallationRestartPrompt -full".
For online help, type: "get-help Show-InstallationRestartPrompt -online"