Get-QADProgressPolicy

From PowerGUI Wiki

Jump to: navigation, search

View the user preference on whether to display a progress bar for long-running commands.

This cmdlet is part of the Quest ActiveRoles Server product. Use Get-QARSProductInfo to view information about ActiveRoles Server.

Contents

Syntax

Get-QADProgressPolicy [<CommonParameters>]

Detailed Description

Use this cmdlet to examine the settings that were specified by using Set-QADProgressPolicy, and are in effect for the current user session. These settings control whether the QAD and QARS cmdlets that support the ShowProgress parameter display a progress bar by default. When performing a lengthy operation (that is, an operation that lasts longer than a certain threshold time), such a cmdlet may display a progress bar to depict the status of the operation. Whether a progress bar is displayed, depends upon the ShowProgress setting. The threshold time is controlled by the Threshold setting. These settings only affect the current user, and can be overridden on a per-cmdlet basis. For details regarding the ShowProgress or Threshold setting, see the corresponding parameter description for the Set-QADProgressPolicy cmdlet.

Note that the progress bar feature is based on the Write-Progress function that was first introduced in version 2.0 of Windows PowerShell. With Windows PowerShell 1.0 this feature is not available.



Examples

EXAMPLE 1

Get-QADProgressPolicy

Description


View the ShowProgress and Threshold settings that are in effect for the current user session.

Personal tools