PackageDeployment Module Help

Package Deployment Module

Show-ADTInstallationProgress Cmdlet

Version 4.0.0.5

Show-ADTInstallationProgress

Synopsis

Displays a progress dialog in a separate thread with an updateable custom message.

Syntax

Show-ADTInstallationProgress [[-StatusMessage] <String>] [[-WindowLocation] <String>] [[-TopMost] <Boolean>] [[-Context] <String>] [<CommonParameters>]

Description

Create a WPF window in a separate thread to display a marquee style progress ellipse with a custom message that can be updated. The status message supports line breaks. The first time this function is called in a script, it will display a balloon tip notification to indicate that the installation has started (provided balloon tips are enabled in the configuration).

Parameters

-StatusMessage <String>

The status message to be displayed. The default status message is taken from the XML configuration file.

Required

False

Position

1

Accepts pipeline input

False

-WindowLocation <String>

The location of the progress window. Default: center of the screen..

Required

False

Position

2

Accepts pipeline input

False

-TopMost <Boolean>

Specifies whether the progress window should be topmost. Default: $true.

Required

False

Position

3

Accepts pipeline input

False

-Context <String>

User: Execution under user account; logging in HKEY_CURRENT_USER, i.e. for the user.
UserPerService: User-related command, execution in Service context.
Computer: Execution under user account; logging in HKEY_CURRENT_MACHINE, i.e. for the computer.
ComputerPerService: Execution in service context; logging in HKEY_LOCAL_MACHINE, i.e. for the computer.

Required

False

Position

4

Accepts pipeline input

False

<CommonParameters>

For more information about common parameters, type "Get-Help about_CommonParameters".