oh-my-posh: Exception: oh-my-posh: Unsupported architecture:
Code of Conduct
- I agree to follow this project’s Code of Conduct
What happened?
A bug happened!
When I try Import-Module oh-my-posh, I get an error:
Get-CimInstance: 指定的类不存在。
Exception: oh-my-posh: Unsupported architecture:

Theme
There is a bug before using the theme.
What OS are you seeing the problem on?
Windows
Which shell are you using?
powershell
Log output
Write-PoshDebug: The term 'Write-PoshDebug' is not recognized as a name of a cmdlet, function, script file, or executable program.
Check the spelling of the name, or if a path was included, verify that the path is correct and try again.
About this issue
- Original URL
- State: closed
- Created 2 years ago
- Comments: 22 (5 by maintainers)
@JanDeDobbeleer you’re still using the module which is why this is an issue. Please migrate to the executable and you’ll be all set.