Write-ProgressIndicator
SYNOPSIS
Write a . to the console, indicating an activity
SYNTAX
Write-ProgressIndicator
DESCRIPTION
Write a . to the console, indicating an activity
EXAMPLES
Example 1
function foo
{
[CmdletBinding()]
param
()
foreach ($thing in $things)
{
#Long running operation. Need to have output.
Write-ProgressIndicator
sleep 120
}
Write-ProgressIndicatorEnd
}
Write . to the console host as long as loop is processing