Clone the correct ModifyPartition
tag
This commit is contained in:
parent
b4cd26632d
commit
659f7c32f8
1 changed files with 1 additions and 1 deletions
|
@ -53,7 +53,7 @@ $Global:SetupConfigPostprocessor = {
|
||||||
|
|
||||||
$partitionModificationContainer = $diskConfig.SelectSingleNode("./ua:ModifyPartitions", $namespace);
|
$partitionModificationContainer = $diskConfig.SelectSingleNode("./ua:ModifyPartitions", $namespace);
|
||||||
$partitionModifications = $partitionModificationContainer.SelectNodes("./ua:ModifyPartition", $namespace);
|
$partitionModifications = $partitionModificationContainer.SelectNodes("./ua:ModifyPartition", $namespace);
|
||||||
$newModification = $partitionModifications[1].CloneNode($true);
|
$newModification = $partitionModifications[2].CloneNode($true);
|
||||||
$newModification.SelectSingleNode("./ua:Order", $namespace).InnerText = "$newIndex";
|
$newModification.SelectSingleNode("./ua:Order", $namespace).InnerText = "$newIndex";
|
||||||
$newModification.SelectSingleNode("./ua:PartitionID", $namespace).InnerText = "$newIndex";
|
$newModification.SelectSingleNode("./ua:PartitionID", $namespace).InnerText = "$newIndex";
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue