Close-ADTInstallationProgress

If a progress dialog was previously displayed with the Show-ADTInstallationProgress command, it can be closed with this command. This command is called automatically when the script ends without you having to add it to your script, but you can also call it at script runtime to close existing messages.

This command maps the 'Close-InstallationProgress' function from the PowerShell App Deployment Toolkit.


Settings:

  • Wait for delayed display of the progress dialog
    Value in seconds that is waited for if the dialog to be closed does not yet exist. Valid values are numbers between 1 and 60. 


Example:

The following command waits a maximum of 5 seconds to close a progress dialog.


Corresponds to ADT function:


See also:

  • Show-ADTBalloonTip
  • Show-ADTInstallationProgress
  • Show-ADTInstallationPrompt
  • Show-ADTInstallationRestartPrompt
  • Show-ADTInstallationWelcome
  • Show-MultipleChoiceDialog
  • Show-PdMessageBox
  • Show-PdToastMessage