Correction d'encodage de caractère
Correction de fichier non trouvé
This commit is contained in:
1 parent
8d5014b4aa
commit
2019c565f5
5 files changed
+74
-30
No files matched your search
@@ -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
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user