From 6c3d8706b8091a4b93b80ee3d971228bd115aa4f Mon Sep 17 00:00:00 2001 From: djpbessems Date: Wed, 19 May 2021 11:11:09 +0200 Subject: [PATCH] Fix missing bracket --- scripts/Update-OvfConfiguration.ps1 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/Update-OvfConfiguration.ps1 b/scripts/Update-OvfConfiguration.ps1 index d080c68..4bef5ae 100644 --- a/scripts/Update-OvfConfiguration.ps1 +++ b/scripts/Update-OvfConfiguration.ps1 @@ -99,7 +99,7 @@ ForEach ($Disk in $OVFConfig.DynamicDisks) { $XMLDiskItem.SelectSingleNode('rasd:InstanceID', $NS).InnerText = $InstanceID [void]$XML.SelectSingleNode('//ns:VirtualHardwareSection', $NS).InsertAfter( $XMLDiskItem, - $XML.SelectSingleNode("//ns:VirtualHardwareSection/ns:Item/rasd:InstanceID[.='$($HighestInstanceID)'", $NS).ParentNode + $XML.SelectSingleNode("//ns:VirtualHardwareSection/ns:Item/rasd:InstanceID[.='$($HighestInstanceID)']", $NS).ParentNode ) $OVFConfig.PropertyCategories[0].ProductProperties += @{