During my tinkering with PS 5.1 under Win 10, related to the objective of question Fully change language (including Culture) for the current PowerShell session, I came across a couple of related questions.
Where is the Windows setting associated with the UICulture? I did not find the "Keyboard and Languages" tab of the "Region and Language" control panel as indicated here.
Can this be persistently changed from within PS? All I found so far only persist in a session.
The setting Settings -> Time and Language -> Language -> Windows display language shows "Español (España)", and PS gives
> Get-UICulture ; [System.Threading.Thread]::CurrentThread.CurrentUICulture ; [CultureInfo]::CurrentUICulture ;
LCID Name DisplayName
---- ---- -----------
1033 en-US English (United States)
1033 en-US English (United States)
1033 en-US English (United States)
without any intervening changes and in a session just launched.
$PSUICulture
/$PSCulture
/Get-UICulture
/Get-Culture
reflect: in PowerShell [Core] v6+, they - sensibly - reflect the values currently in effect. In Windows PowerShell, unfortunately, they always reflect the values at session start-up time. – Bogtrotter