Correction d'encodage de caractère

Correction de fichier non trouvé
This commit is contained in:
benoit committed 2026-10-17 15:09:58 +02:00
1 parent 8d5014b4aa
commit 2019c565f5
5 files changed
+74 -30

No files matched your search

+2 -2
View File
@@ -30,8 +30,8 @@ function Read-DeployCenterConfig {
$config.VncPassword = $value
} elseif ($section -ieq 'Partitioning' -and $key -ieq 'WinRESizeMB') {
$sizeMB = 0
if (-not [int]::TryParse($value, [ref]$sizeMB) -or $sizeMB -lt 990) {
throw "Le paramètre [Partitioning] WinRESizeMB doit être un entier supérieur ou égal à 990. Valeur reçue : '$value'."
if (-not [int]::TryParse($value, [ref]$sizeMB) -or $sizeMB -le 0) {
throw "Le paramètre [Partitioning] WinRESizeMB doit être un entier strictement positif. Valeur reçue : '$value'."
}
$config.WinRESizeMB = $sizeMB
}