Skip to main content

Close-InstallationProgress

SYNOPSISโ€‹

Closes the dialog created by Show-InstallationProgress.

SYNTAXโ€‹

Close-InstallationProgress [[-WaitingTime] <Int32>] [<CommonParameters>]

DESCRIPTIONโ€‹

Closes the dialog created by Show-InstallationProgress.

This function is called by the Exit-Script function to close a running instance of the progress dialog if found.

EXAMPLESโ€‹

EXAMPLE 1โ€‹

Close-InstallationProgress

PARAMETERSโ€‹

-WaitingTimeโ€‹

How many seconds to wait, at most, for the InstallationProgress window to be initialized, before the function returns, without closing anything. Range: 1 - 60 Default: 5

Type: Int32
Parameter Sets: (All)
Aliases:

Required: False
Position: 1
Default value: 5
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โ€‹

Noneโ€‹

You cannot pipe objects to this function.โ€‹

OUTPUTSโ€‹

System.Stringโ€‹

Returns the version of the specified file.โ€‹

NOTESโ€‹

This is an internal script function and should typically not be called directly.

https://psappdeploytoolkit.com