Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
While browsing Script Repository this interesting requirement was noticed.
Requirement:
To change the OS language using PowerShell.
Code:
function Change-Language {
param ($Language)
Set-ItemProperty 'HKCU:\Control
Panel\Desktop' -Name "PreferredUILanguages" -Value $Language
}
Change-Language -language 'fr-FR'