You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
InvalidOperation
… $host.globalData.progressBackgroundColor = ($progcolors | …
The property 'progressBackgroundColor' cannot be found on this object. Verify that the property exists and can be set.
While I'm not very familiar with how this code works, it seems that $host does not have a globalData - changing this line to $host.privateData seems to fix the issue in PSVersion 5.1 PSEdition Desktop
Note - color doesn't change in PSVersion 7.2.6 PSEdition Core.
Expectation
Countdown to proceed without errors, changing the colors randomly in PowerShell console.
Additional Information
Pull request with suggested change incoming.
PowerShell version
7.2
Platform
Windows 10 Pro or Enterprise
Additional Checks
You are using the latest version of this module.
You have read this repository's README file.
You have read full help and examples for the command you are having problems with.
You are running PowerShell in an elevated session.
You are running in a traditional PowerShell console or Windows Terminal
The text was updated successfully, but these errors were encountered:
Describe the problem
Line 219 generates an error:
Note - color doesn't change in PSVersion 7.2.6 PSEdition Core.
Expectation
Countdown to proceed without errors, changing the colors randomly in PowerShell console.
Additional Information
Pull request with suggested change incoming.
PowerShell version
7.2
Platform
Windows 10 Pro or Enterprise
Additional Checks
The text was updated successfully, but these errors were encountered: