scripts

Use-ProgressView.ps1

SYNOPSIS

Sets the progress bar display view.

SYNTAX

Use-ProgressView.ps1 [-View] <ProgressView> [-ProgressAction <ActionPreference>] [<CommonParameters>]

DESCRIPTION

EXAMPLES

EXAMPLE 1

Use-ProgressView.ps1 Classic

Restores the Windows PowerShell 5.x-style top progress banner for Write-Progress.

PARAMETERS

-View

The progress view to use.

Type: ProgressView
Parameter Sets: (All)
Aliases:
Accepted values: Minimal, Classic

Required: True
Position: 1
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-ProgressAction

Type: ActionPreference
Parameter Sets: (All)
Aliases: proga

Required: False
Position: Named
Default value: None
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

OUTPUTS

NOTES

about_ANSI_Terminals