The language noted is the prettifying language used, rather than the actual language. There isn't a PowerShell language enabled in the prettifier that Stack Overflow uses, so the ability to have it show "PowerShell" isn't possible without that language being added. At the moment [powershell] uses the Bash language prettification, hence why the blocks show as "Bash" even if they aren't. PowerShell is supported by Highlight.js, so it just needs to be actually enabled.
I am a little confused though. The language used in this meta post seems to suggest you noticed a recent change in behavior. But this can't actually be true. So... how did we get here? Are you just making things up or did something really change, like the site now defaulting to bash rather than something else?
@Gimby I think this is the recent change to code blocks that actually shows the prettifying language being used (along with the Copy button). Previously code blocks didn't tell you what they were using.
@Gimby -- as greg-449 mentioned, it is the result of a recent change in the behavior of code blocks. for_me, [since i usually look only at powershell stuff] they used to show powershell ... but now show bash and the copy button.
This site is intended for bugs, features, and discussion of Stack Overflow and the software that powers it. You must have an account on Stack Overflow to participate.
powershell... but now showbashand thecopybutton.lang-dosandlang-powershell, but neither is supported on SO/SE.