Home > Enterprise >  Filtering output of winget install to show only progress bar
Filtering output of winget install to show only progress bar

Time:09-15

When running

winget install program-name

Is it possible to filter the output to show only the progress bar: Pictured here

Select-String isn't possible (have tried to -NotMatch the results but I'm unsure how this progress bar is actually captured) and I'm unsure what to look at next to possibly do this (if possible) - any ideas?

Thanks

CodePudding user response:

That currently isn't possible (September 2022). There are issues on the backlog to support JSON output in the .exe based CLI, as well as native PowerShell support. Native PowerShell support would provide objects out of calls which might give the ability to just display a progress bar.

  • Related