VMM: VM-Template - Regional settings (Keyboard-Layouts)

Aus Wiki-WebPerfect
Version vom 24. Januar 2018, 14:10 Uhr von Admin (Diskussion | Beiträge)

(Unterschied) ← Nächstältere Version | Aktuelle Version (Unterschied) | Nächstjüngere Version → (Unterschied)
Wechseln zu: Navigation, Suche



$templatename = "<VM-Template-Name>"
 
$template = Get-SCVMtemplate | where {$_.Name  -eq "$templatename"} 
$settings = $template.UnattendSettings;
$settings.add("oobeSystem/Microsoft-Windows-International-Core/UserLocale","de-CH");
$settings.add("oobeSystem/Microsoft-Windows-International-Core/SystemLocale","de-CH");
$settings.add("oobeSystem/Microsoft-Windows-International-Core/UILanguage","en-US");
$settings.add("oobeSystem/Microsoft-Windows-International-Core/InputLocale","0807:00000807;0407:00000407;0409:00000409;0410:00000410");
$settings.add("oobeSystem/Microsoft-Windows-International-Core/InputLocale","0407:00000407");
$settings.add("oobeSystem/Microsoft-Windows-International-Core/InputLocale","0409:00000409");
Set-SCVMTemplate -VMTemplate $template -UnattendSettings $settings