-
Notifications
You must be signed in to change notification settings - Fork 39
Description
Hi,
Can you please create a template that creates a default server with a host too using win 10/11 enterprise.
I've copied the "Sample_WS2019_DCandDHCPandCA.xml" and edited it but I'm not 100% sure what to do next.
I created the TemplateVHD:
<templatevhd name="Windows 10 Enterprise" iso="SW_DVD5_WIN_ENT_10_1607_64BIT_English_MLF_X21-07102.ISO" url="https://software-download.microsoft.com/download/pr/" vhd="Windows 10 Enterprise.vhdx" edition="Windows 10 Enterprise" ostype="Client" vhdformat="vhdx" vhdtype="dynamic" generation="2" vhdsize="25GB" />
I created the Template:
<template name="Template Windows 10 Enterprise" templatevhd="Windows 10 Enterprise" memorystartupbytes="1GB" processorcount="1" administratorpassword="P@ssword!1" timezone="Australian central Standard Time" ostype="Client" />
I dont know how to create the vm for it.
<vm name="Host1" template="Template Windows 10 Enterprise" computername="Host1"> <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>
Please help, I think this would be a great addition to you're already good script.