Fix non-functioning command
This commit is contained in:
parent
41bfc2df9e
commit
a181a4533f
1 changed files with 1 additions and 1 deletions
|
@ -14,7 +14,7 @@ $Global:SetupConfigPostprocessor = {
|
|||
$newIndex = 2;
|
||||
$installationPartition.InnerText = "$($newIndex + 1)";
|
||||
$partitionCreations = $diskConfig.SelectSingleNode("./ua:CreatePartitions", $namespace);
|
||||
$winPartition = ($partitionCreations.SelectNodes("./ua:CreatePartition", $namespace) | Select-Object -Last)[0];
|
||||
$winPartition = ($partitionCreations.SelectNodes("./ua:CreatePartition", $namespace) | Select-Object -Last 1)[0];
|
||||
$newPartition = $winPartition.CloneNode($true);
|
||||
|
||||
$offset = 0;
|
||||
|
|
Loading…
Reference in a new issue