samples/Sample_WS2019_DCandDHCPandCA.xml
<?xml version="1.0" encoding="utf-8"?>
<labbuilderconfig xmlns="labbuilderconfig" name="Sample_WS2019_DcandDHCPandCA" version="1.0"> <description> Sample Windows Server 2019 Lab Configuration Domain with multiple DCs, DHCP Servers, PKI with enterprise CA. Useful for general experimentation and testing of Windows Server 2019 features. </description> <settings labid="LABBUILDER-DCANDDHCPANDCA.COM " domainname="LABBUILDER-DCANDDHCPANDCA.COM" email="admin@LABBUILDER-DCANDDHCPANDCA.COM" labpath="c:\vm\LABBUILDER-DCANDDHCPANDCA.COM" /> <switches> <switch name="External" type="External"> <adapters> <adapter name="Cluster" macaddress="00155D010701" /> <adapter name="Management" macaddress="00155D010702" /> <adapter name="SMB" macaddress="00155D010703" /> <adapter name="LM" macaddress="00155D010704" /> </adapters> </switch> <switch name="Domain Private Site A" type="Private" vlan="2" /> </switches> <templatevhds isopath="ISOFiles" vhdpath="VHDFiles" prefix="" > <templatevhd name="Windows Server 2019 Datacenter Full" iso="17763.737.190906-2324.rs5_release_svc_refresh_SERVER_EVAL_x64FRE_en-us_1.iso" url="https://software-download.microsoft.com/download/pr/" vhd="Windows Server 2019 Datacenter Full.vhdx" edition="Windows Server 2019 Datacenter" ostype="Server" vhdformat="vhdx" vhdtype="dynamic" generation="2" vhdsize="50GB" /> <templatevhd name="Windows Server 2019 Datacenter CORE" iso="17763.737.190906-2324.rs5_release_svc_refresh_SERVER_EVAL_x64FRE_en-us_1.iso" url="https://software-download.microsoft.com/download/pr/" vhd="Windows Server 2019 Datacenter Core.vhdx" edition="Windows Server 2019 Datacenter (Desktop Exprience)" ostype="Server" vhdformat="vhdx" vhdtype="dynamic" generation="2" vhdsize="25GB" /> </templatevhds> <templates> <template name="Template Windows Server 2019 Datacenter Full" templatevhd="Windows Server 2019 Datacenter Full" memorystartupbytes="1GB" processorcount="1" administratorpassword="P@ssword!1" timezone="New Zealand Standard Time" ostype="Server" /> <template name="Template Windows Server 2019 Datacenter CORE" templatevhd="Windows Server 2019 Datacenter CORE" memorystartupbytes="1GB" processorcount="1" administratorpassword="P@ssword!1" timezone="New Zealand Standard Time" ostype="Server" /> </templates> <vms> <vm name="SA-DC1" template="Template Windows Server 2019 Datacenter CORE" computername="SA-DC1"> <dsc configname="DC_FORESTPRIMARY" configfile="DC_FORESTPRIMARY.DSC.ps1"> <parameters> DomainName = "LABBUILDER.COM" DomainAdminPassword = "P@ssword!1" Forwarders = @('8.8.8.8','8.8.4.4') </parameters> </dsc> <adapters> <adapter name="External" switchname="External" /> <adapter name="Domain Private Site A" switchname="Domain Private Site A"> <ipv4 address="192.168.128.10" defaultgateway="192.168.128.19" subnetmask="24" dnsserver="192.168.128.10"/> <ipv6 address="fd53:ccc5:895a:bc00::a" defaultgateway="fd53:ccc5:895a:bc00::13" subnetmask="64" dnsserver="fd53:ccc5:895a:bc00::a"/> </adapter> </adapters> </vm> <vm name="SA-DHCP1" template="Template Windows Server 2019 Datacenter CORE" computername="SA-DHCP1"> <dsc configname="MEMBER_DHCP" configfile="MEMBER_DHCP.DSC.ps1"> <parameters> DomainName = "LABBUILDER.COM" DCname = "SA-DC1" DomainAdminPassword = "P@ssword!1" PSDscAllowDomainUser = $true Scopes = @( @{ Name = 'Site A Primary'; Start = '192.168.128.50'; End = '192.168.128.254'; SubnetMask = '255.255.255.0'; AddressFamily = 'IPv4' } ) Reservations = @( @{ Name = 'SA-DC1'; ScopeID = '192.168.128.0'; ClientMACAddress = '000000000000'; IPAddress = '192.168.128.10'; AddressFamily = 'IPv4' }, @{ Name = 'SA-DHCP1'; ScopeID = '192.168.128.0'; ClientMACAddress = '000000000002'; IPAddress = '192.168.128.16'; AddressFamily = 'IPv4' }, @{ Name = 'SA-ROOTCA'; ScopeID = '192.168.128.0'; ClientMACAddress = '000000000009'; IPAddress = '192.168.128.23'; AddressFamily = 'IPv4' } ) ScopeOptions = @( @{ ScopeID = '192.168.128.0'; DNServerIPAddress = @('192.168.128.10'); Router = '192.168.128.19'; AddressFamily = 'IPv4' } ) </parameters> </dsc> <adapters> <adapter name="External" switchname="External" /> <adapter name="Domain Private Site A" switchname="Domain Private Site A"> <ipv4 address="192.168.128.16" defaultgateway="192.168.128.19" subnetmask="24" dnsserver="192.168.128.10"/> <ipv6 address="fd53:ccc5:895a:bc00::10" defaultgateway="fd53:ccc5:895a:bc00::13" subnetmask="64" dnsserver="fd53:ccc5:895a:bc00::a"/> </adapter> </adapters> </vm> <vm name="SA-ROOTCA" template="Template Windows Server 2019 Datacenter Full" computername="SA-ROOTCA"> <dsc configname="MEMBER_ROOTCA" configfile="MEMBER_ROOTCA.DSC.ps1" logging="Y"> <parameters> DomainName = "LABBUILDER.COM" DomainAdminPassword = "P@ssword!1" DCName = "SA-DC1" PSDscAllowDomainUser = $true InstallOnlineResponder = $true InstallEnrollmentWebService = $true CACommonName = "LABBUILDER.COM Issuing CA" CADistinguishedNameSuffix = "DC=LABBUILDER,DC=COM" CRLPublicationURLs = "65:C:\Windows\system32\CertSrv\CertEnroll\%3%8%9.crl\n79:ldap:///CN=%7%8,CN=%2,CN=CDP,CN=Public Key Services,CN=Services,%6%10\n6:http://pki.labbuilder.com/CertEnroll/%3%8%9.crl" CACertPublicationURLs = "1:C:\Windows\system32\CertSrv\CertEnroll\%1_%3%4.crt\n2:ldap:///CN=%7,CN=AIA,CN=Public Key Services,CN=Services,%6%11\n2:http://pki.labbuilder.com/CertEnroll/%1_%3%4.crt" </parameters> </dsc> <adapters> <adapter name="External" switchname="External" /> <adapter name="Domain Private Site A" switchname="Domain Private Site A"> <ipv4 address="192.168.128.23" defaultgateway="192.168.128.19" subnetmask="24" dnsserver="192.168.128.10,192.168.128.11"/> <ipv6 address="fd53:ccc5:895a:bc00::17" defaultgateway="fd53:ccc5:895a:bc00::13" subnetmask="64" dnsserver="fd53:ccc5:895a:bc00::a"/> </adapter> </adapters> </vm> </vms> </labbuilderconfig> |