Skip to content

Do-Progress is a visual loading bar for Windows Powershell

Notifications You must be signed in to change notification settings

retryW/Do-Progress

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Do-Progress

Do-Progress is a visual loading bar for Windows Powershell

Sneak Preview

Usage

  1. Clone this repository

  2. Import the Module or paste the Do-Progress function into your code

Import-Module Do-Progress
  1. Usage
Do-Progress $completed $total $started

$started is optional.

  1. Example usage
$total = 10000
$count = 0
$started = 0

while ($count -ne $total) {
    $count++
    if ($started -lt $total) {
        $started += 2
        if ($started -gt $total) {
            $started = $total
        }
    }
    Do-Progress $count $total $started
}

NoClutter Mode

The -NoClutter mode can be used to have a loading bar with no stats. This mode has been made 100x more efficient, and will significantly speed up large jobs.

Do-Progress $completed $total -NoClutter

Sneak Preview

About

Do-Progress is a visual loading bar for Windows Powershell

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published