This commit is contained in:
Manuel Thalmann 2023-07-03 12:44:36 +02:00
parent afa570e498
commit 43f6e2e44a

View file

@ -32,7 +32,7 @@ $oobeSystemSettings = Get-PassSettings "oobeSystem";
$oobeSystemSettings.SelectSingleNode("./ua:component/ua:FirstLogonCommands/ua:SynchronousCommand[last()]/ua:CommandLine", $namespace).InnerText += "`npwsh '$env:SETUP_SCRIPT_NAME';"; $oobeSystemSettings.SelectSingleNode("./ua:component/ua:FirstLogonCommands/ua:SynchronousCommand[last()]/ua:CommandLine", $namespace).InnerText += "`npwsh '$env:SETUP_SCRIPT_NAME';";
if ($Global:SetupConfigPostprocessor) { if ($Global:SetupConfigPostprocessor) {
$Global:SetupConfigPostprocessorpartitionCreations.Invoke($unattendedConfig, $namespace); $Global:SetupConfigPostprocessor.Invoke($unattendedConfig, $namespace);
} }
$unattendedConfig.PreserveWhitespace = $true; $unattendedConfig.PreserveWhitespace = $true;