Show-ADTInstallationRestartPrompt
PackageDeployment Module Help |
Package Deployment Module (DSM eScript Commands) |
Show-ADTInstallationRestartPrompt Cmdlet |
Version 4.0.0.5 |
Show-ADTInstallationRestartPrompt
Synopsis
Displays a restart prompt with a countdown to a forced restart.
Syntax
Show-ADTInstallationRestartPrompt [[-CountdownSeconds] <Int32>] [[-CountdownNoHideSeconds] <Int32>] [[-NoSilentRestart] <Boolean>] [-NoCountdown] [[-SilentCountdownSeconds] <Int32>] [[-TopMost] <Boolean>] [[-Context] <String>] [<CommonParameters>]
Description
Displays a restart prompt with a countdown to a forced restart.
Parameters
-Context <String> |
||||||
User: Execution under user account; logging in HKEY_CURRENT_USER, i.e. for the user. |
||||||
|
-CountdownNoHideSeconds <Int32> |
||||||
Specifies the number of seconds to display the restart prompt without allowing the window to be hidden. Default: 30 |
||||||
|
-CountdownSeconds <Int32> |
||||||
Specifies the number of seconds to countdown before the system restart. Default: 60 |
||||||
|
-NoCountdown <SwitchParameter> |
||||||
Specifies not to show a countdown. The UI will restore/reposition itself persistently based on the interval value specified in the config file. |
||||||
|
-NoSilentRestart <Boolean> |
||||||
Specifies whether the restart should be triggered when Deploy mode is silent or very silent. Default: $true |
||||||
|
-SilentCountdownSeconds <Int32> |
||||||
Specifies number of seconds to countdown for the restart when the toolkit is running in silent mode and NoSilentRestart is $false. Default: 5 |
||||||
|
-TopMost <Boolean> |
||||||
Specifies whether the windows is the topmost window. Default: $true. |
||||||
|
<CommonParameters> |
For more information about common parameters, type "Get-Help about_CommonParameters". |