Ajout d'un fond d'écran personnalisé si fourni dans DeployCenter.ini

Renommage du profil unattend pour mieux correspondre à ce qu'il fait.
Ajout d'un warning si WinRE n'est pas assez grands au regard des préconisations Microsoft et du redémarrage automatique si l'installation réussi.
This commit is contained in:
benoit committed 2026-10-17 21:28:34 +02:00
1 parent e067721763
commit cb917c97ce
11 files changed
+161 -23

No files matched your search

+9
View File
@@ -14,6 +14,9 @@ function Read-DeployCenterConfig {
UnattendAdminDisplayName = 'Administrateur local'
UnattendAdminGroup = 'Administrators'
UnattendAdminPasswordBase64 = ''
UnattendSupportProvider = ''
UnattendSupportAppURL = ''
UnattendWallpaperPath = 'Assets\blorand.png'
}
if (-not (Test-Path -LiteralPath $ConfigPath -PathType Leaf)) { return $config }
@@ -46,6 +49,12 @@ function Read-DeployCenterConfig {
$config.UnattendAdminGroup = $value
} elseif ($section -ieq 'Unattend' -and $key -ieq 'AdminPasswordBase64') {
$config.UnattendAdminPasswordBase64 = $value
} elseif ($section -ieq 'Unattend' -and $key -ieq 'SupportProvider') {
$config.UnattendSupportProvider = $value
} elseif ($section -ieq 'Unattend' -and $key -ieq 'SupportAppURL') {
$config.UnattendSupportAppURL = $value
} elseif ($section -ieq 'Unattend' -and $key -ieq 'WallpaperPath') {
$config.UnattendWallpaperPath = $value
}
}
return $config