Console icon indicating copy to clipboard operation
Console copied to clipboard

Write-Progress indeterminate percent indicator

Open kningyi opened this issue 3 years ago • 2 comments

Expected Behavior

If I use WriteProgress without a PercentComplete argument, it should show an indeterminate progress bar just like when I do not use WriteProgress. Alternatively, it would be great if we can add a flag to specify that that the progress is uncertain like -PercentUnknown or something.

image

Actual Behavior

image

Steps to Reproduce the Problem

  • Sitecore PowerShell Extensions 6.2.0.34182
  • Sitecore 10.0.1
  • Code: Write-Progress -Status "Processing..." -Activity "testing"

kningyi avatar Feb 28 '22 03:02 kningyi

@kningyi Do you happen to have a script that produces the indeterminate indicator? I seemed to have lost my sample script from #1096

michaellwest avatar Feb 28 '22 22:02 michaellwest

Hm, I just run any script from the SPE module, like Find all Powershell commands:

image

kningyi avatar Mar 10 '22 05:03 kningyi