New-WinUserLanguageList de-DE Set-WinUserLanguageList de-DE -Force Set-WinSystemLocale de-DE Set-Culture de-DE Set-TimeZone -Id "W. Europe Standard Time" Set-WinHomeLocation -GeoId 0x5e [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 German/Deutsch? Do not forget to save your work before logoff!','WARNING','YesNo','Warning') switch ($msgBoxInput) { 'Yes' { Logoff } 'No' { Exit } }