How to change Color Of Progress Bars From Green to Blue - Windows 7

Scotty 1 Reputation point

Hello, I'd like to change the green color of all the progress bars to Blue (See image). I think I can do it in powershell but I can't find any info webwise on this procedure. I found something similar in the link below but not it's not what I want to do. I thought of using it & just type in the 'Blue' color instead of black but I don't want the Green background as I want it to stay the same. I sure hope somewone can please help & possibly give me something I can copy & paste in powershell. Thank You !  Blue Progress Bar,use%20the%20following%20code%20in%20PowerShell%3A%20%24Host.PrivateData.ProgressBackgroundColor%3D%E2%80%99Green%E2%80%99%20%24Host.PrivateData.ProgressForegroundColor%3D%E2%80%99Black%E2%80%99

A family of Microsoft operating systems that run across personal computers, tablets, laptops, phones, internet of things devices, self-contained mixed reality headsets, large collaboration screens, and other devices.
4,833 questions
A family of Microsoft task automation and configuration management frameworks consisting of a command-line shell and associated scripting language.
2,140 questions
{count} votes

1 answer

Sort by: Most helpful
  1. Rich Matheisen 45,111 Reputation points

    That's not a PowerShell object (i.e., it wasn't produced using the cmdlet Write-Progress), it's a dialog box, or maybe a form. The progress bar in your example is a graphic object.

    Here's an example of creating a form with a progress bar:

    And another example:

    You'll find lots more examples of doing this by searching for "powershell create dialog box with a progress bar"