PowerShell scope of changes in lines with multiple commands - UICulture
问题 During my tinkering with PS 5.1 related to the objective of question Fully change language for the current PowerShell session I observed a "strange" behavior: > [system.threading.thread]::currentthread.currentculture ; [system.threading.thread]::currentthread.currentuiculture ; LCID Name DisplayName ---- ---- ----------- 1033 en-US English (United States) 1033 en-US English (United States) > function Set-CultureWin([System.Globalization.CultureInfo] $culture) { [System.Threading.Thread]: