New-WinUserLanguageList sv-SE Set-WinUserLanguageList sv-SE -Force Set-WinSystemLocale sv-SE Set-Culture sv-SE Set-TimeZone -Id "W. Europe Standard Time" Set-WinHomeLocation -GeoId 0xdd [System.Reflection.Assembly]::LoadWithPartialName("System.Windows.Forms") | Out-Null Add-Type -AssemblyName PresentationFramework $msgBoxInput = [System.Windows.MessageBox]::Show('Do you want to logoff, so the display language change to Swedish/Svenska? Do not forget to save your work before logoff!','WARNING','YesNo','Warning') switch ($msgBoxInput) { 'Yes' { Logoff } 'No' { Exit } }