You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I downloaded HCI 22H2 ISO from Azure portal.
When executing the script "2_CreateParentDisks.ps1" it failed with error below.
I think it's because the ISO contains only one image.
_Method invocation failed because [System.Char] does not contain a method named 'contains'.
At F:\Lab\mslab2-hci\2_CreateParentDisks.ps1:665 char:13
If ($WindowsImage.ImageName[0].contains("Server")){
Hello,
I downloaded HCI 22H2 ISO from Azure portal.
When executing the script "2_CreateParentDisks.ps1" it failed with error below.
I think it's because the ISO contains only one image.
_Method invocation failed because [System.Char] does not contain a method named 'contains'.
At F:\Lab\mslab2-hci\2_CreateParentDisks.ps1:665 char:13
Method invocation failed because [System.Char] does not contain a method named 'contains'.
At F:\Lab\mslab2-hci\2_CreateParentDisks.ps1:671 char:13
Get-WindowsImage : There is no matching image.
At F:\Lab\mslab2-hci\2_CreateParentDisks.ps1:683 char:21
, PSArgumentException
The text was updated successfully, but these errors were encountered: