I have always wondered how people update a previous line in a command line. a great example of this is when using the wget command in linux. It creates an ASCII loading bar
PowerShell has a Write-Progress cmdlet that creates an in-console progress bar that you can update and modify as your script runs.