Showing Progress in Taskbar Buttons

by Jan 3, 2023

If you run your PowerShell scripts on Windows, you can use the taskbar button as a progress indicator. All you need is install this module:

Install-Module -Name PsoProgressButton -Scope CurrentUser

Next, you can run the command below to set the progress bar inside your taskbar button to a value between 0 and 100. This sets the indicator to 50%:

 PS> Set-PsoButtonProgressValue -CurrentValue 50    

To turn the indicator off again, run this:

 PS> Set-PsoButtonProgressState -ProgressState NoProgress   

 


Tweet this tip! Tweet this tip!