-
Notifications
You must be signed in to change notification settings - Fork 128
The property 'ForegroundColor' cannot be found on this object. Verify that the property exists and can be set. At C:\Users\grzeg\Documents\WindowsPowerShell\Microsoft.PowerShell_profile.ps1:16 char:1 #32
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
I have the same issue. |
According to dahlbyk/posh-git#588, |
eu estava com o mesmo problema, aconteceu pq não estava com posh-git, consegui instalar o posh-git seguindo a documentação no site do git, é só seguir o passo-passo. |
Hi @gawronix, can you please paste the output of the following two commands?
Thanks! |
An update for those experiencing problems |
ProblemI encountered the same problem as well as an error saying i didn't have SolutionTurns out i had different versions running of both, so the PowerShell didn't know which to pick and insisted on using the 1.0 version. In order to fix that i had to remove the old versions as said in this guide. After that and restarting all is working. EditAfter running the operations described in the guide i linked before i was in a situation where typing SolutionTo fix that i had to run If the Final resultNow it works everything and when i start the Powershell i don't see Hope i can be helpful to someone ^^ |
I've reworked the install instructions, and added a link to @LukeSavefrogs's troubleshooting steps and information. Thanks for putting it together! |
Thank you! |
Help me fix this...
The property 'Text' cannot be found on this object. Verify that the property exists and can be set.
At C:\Users\grzeg\Documents\WindowsPowerShell\Microsoft.PowerShell_profile.ps1:14 char:50
The property 'ForegroundColor' cannot be found on this object. Verify that the property exists and can be set.
At C:\Users\grzeg\Documents\WindowsPowerShell\Microsoft.PowerShell_profile.ps1:15 char:1
The property 'ForegroundColor' cannot be found on this object. Verify that the property exists and can be set.
At C:\Users\grzeg\Documents\WindowsPowerShell\Microsoft.PowerShell_profile.ps1:16 char:1
The property 'Text' cannot be found on this object. Verify that the property exists and can be set.
At C:\Users\grzeg\Documents\WindowsPowerShell\Microsoft.PowerShell_profile.ps1:17 char:50
The property 'ForegroundColor' cannot be found on this object. Verify that the property exists and can be set.
At C:\Users\grzeg\Documents\WindowsPowerShell\Microsoft.PowerShell_profile.ps1:18 char:1
The property 'ForegroundColor' cannot be found on this object. Verify that the property exists and can be set.
At C:\Users\grzeg\Documents\WindowsPowerShell\Microsoft.PowerShell_profile.ps1:20 char:1
The property 'ForegroundColor' cannot be found on this object. Verify that the property exists and can be set.
At C:\Users\grzeg\Documents\WindowsPowerShell\Microsoft.PowerShell_profile.ps1:21 char:1
The property 'ForegroundColor' cannot be found on this object. Verify that the property exists and can be set.
At C:\Users\grzeg\Documents\WindowsPowerShell\Microsoft.PowerShell_profile.ps1:22 char:1
The text was updated successfully, but these errors were encountered: