Powershell: Feature Request: Write-Progress display in the Windows Notification Center

Created on 1 Jul 2020  路  6Comments  路  Source: PowerShell/PowerShell

Summary of the new feature/enhancement

Write-Progress can display its progress like this

This can be opt-in so it's not breaking the existing program.

Area-Cmdlets-Utility Issue-Enhancement

Most helpful comment

It's not a builtin, but I believe the BurntToast module would be capable of something like this.

All 6 comments

It's not a builtin, but I believe the BurntToast module would be capable of something like this.

This sounds like something that's probably better implemented as a module

Does it possible to rewrite the built-in Write-Progress from the user land?

Various possibilities are:

  • Write a new PSHost (a lot of work) that hooks the underlying progress API up to this. Probably not ideal here
  • Override Write-Progress with your own command that redirects progress to the WNC (this would probably break a number of applications depending on Write-Progress to write to the host)
  • Write a new module and define something like Write-WncProgress to allow both to be used side-by-side

Blocked by #13042

I鈥檓 going to close this feature request as out-of-scope for the PowerShell project, noting @iSazonov鈥檚 point about required dependencies

Was this page helpful?
0 / 5 - 0 ratings

Related issues

SteveL-MSFT picture SteveL-MSFT  路  3Comments

aragula12 picture aragula12  路  3Comments

JohnLBevan picture JohnLBevan  路  3Comments

HumanEquivalentUnit picture HumanEquivalentUnit  路  3Comments

concentrateddon picture concentrateddon  路  3Comments