Quantcast
Channel: PowerShell.org » All Posts
Viewing all articles
Browse latest Browse all 13067

Write-Progress Help

$
0
0

In my script I have a Try and Catch block.  Inside my catch block I’m calling five functions.  These functions take a minute or two to complete. I would love to show my end user a progress bar when these functions are executing.  I’ve asked the Google this question.  It returns varying results, but none that make it clear how I should handle this.  I’m curious if anyone has some pointers?

Since I have 5 functions I figure I could just write-progress for each function starting at 20% and increasing until the 5th one is done.


Viewing all articles
Browse latest Browse all 13067

Trending Articles