Description
Hi,
First, thank you so much for this project – it’s a huge help to the repro lab and also a valuable learning experience. However, I’m encountering an issue with the custom Labconfig file. When I use the default configuration, everything works fine, but as soon as I specify the domain name parameter, the creation of the DC parent disk fails. Below is the Labconfig I intended to use. Please let me know what I might be missing. I am using Server 2022 ISO for this lab. Thank you!.
$LabConfig=@{AllowedVLANs="1-10,711-719" ; DomainAdminName='LabAdmin'; AdminPassword='Password123!'; DomainName='ITC.local' ; DomainNetbiosName='DC' ; InstallSCVMM='Yes' ; Prefix = 'MSLab-' ; DCEdition='4'; Internet=$true ; AdditionalNetworksConfig=@(); VMs=@()}
1..4 | ForEach-Object {$LABConfig.VMs += @{ VMName = "S2D$_" ; Configuration = 'S2D' ; ParentVHD = 'Win2022.vhdx'; SSDNumber = 0; SSDSize=800GB ; HDDNumber = 12; HDDSize= 4TB ; MemoryStartupBytes= 512MB }}
Below is the snippet: