Quantcast
Channel: PowerShell.com – PowerShell Scripts, Tips, Forums, and Resources
Viewing all articles
Browse latest Browse all 6937

providing a counter which shows the command execution progress in precent

$
0
0

Hello

i have created some functions which performs some stuff in Active directory. for example it creates bunch of user accounts.

now i want to know is it possible to define a counter which shows the progress in percent? 

i mean for example for this simple command:

PS C:\>copy-item c:\folder -destination D:\ -recurse

( here during command execution,i need system shows me the progress in percent, i mean something like this---->  %19  which increments as progress continues and ends in %100 when execution finishes)

i wish i have been able to clarify my mean.

thanks in advanced


Viewing all articles
Browse latest Browse all 6937

Trending Articles