Skip to content

Unable to use Custom Labconfig file. #617

Open
@aayooshmoitro

Description

@aayooshmoitro

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:

Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions