Fix use of incorrect variable
This commit is contained in:
parent
cb1a0a8e4b
commit
347f1ae462
1 changed files with 1 additions and 1 deletions
|
@ -30,7 +30,7 @@ $Global:SetupConfigPostprocessor = {
|
|||
$partitionCreations.AppendChild($newPartition);
|
||||
|
||||
$partitionModifications = $diskConfig.SelectSingleNode("./ua:ModifyPartitions", $namespace);
|
||||
$newModification = $diskConfig.SelectNodes("./ua:ModifyPartition", $namespace)[2].CloneNode($true);
|
||||
$newModification = $partitionModifications.SelectNodes("./ua:ModifyPartition", $namespace)[2].CloneNode($true);
|
||||
$newModification.SelectSingleNode("./ua:Order", $namespace).InnerText = "$newIndex";
|
||||
$newModification.SelectSingleNode("./ua:PartitionID", $namespace).InnerText = "$newIndex";
|
||||
|
||||
|
|
Loading…
Reference in a new issue