Closed machv closed 2 years ago
Starting this pull request as work in progress to discuss further.
Sample working VM configuration using new options.
$LABConfig.VMs += @{ VMName = 'Management' ParentVHD = 'Win10_G2.vhdx' AdditionalNetworkAdapters = @{ VirtualSwitchName = 'Litware-LAN' # mandatory Mac = '00-0C-29-04-8D-C6' VlanId = 15 # Optional parameter if VLANs are used in the environment IpConfiguration = @{ # DHCP or specific IP set with Set-VMNetworkConfiguration function IpAddress = '172.17.1.15' Subnet = '255.255.255.0' } }, @{ VirtualSwitchName = 'Litware-LAN' # mandatory IpConfiguration = @{ IpAddress = '172.17.1.16' Subnet = '255.255.255.0' } } }
I would like to add following parameters for all NICs on Lab and VMs to mirror production
Starting this pull request as work in progress to discuss further.
Sample working VM configuration using new options.