Do you just need a simple progress bar when processing a collection of elements? Use the cmdlet Trace-Progress:
Import-Module "./Progress.psm1"
$alphabet = "ABCDEFGHIJKLMNOPQRSTUVWXYZ".ToCharArray()
Trace-Progress $alphabet {
Start-Sleep -Seconds 1
Write-Host $_ -NoNewline
}