Hi Rich dcpromo.exe with an answers file is a great idea. Thanks for that ! This will give me a machine with DC and DNS (but not a DHCP server).
Since I am working with a test environment, I will be having DHCP, DNS and DC on the same 2008 R2 machine. Do you have references I can use to add a DHCP role too? I am not too familiar with dism. Thanks Harsh On Friday, September 6, 2013 6:48:35 AM UTC-7, Rich Siegel wrote: > > I wrote this for managing dns. > https://github.com/rismoney/puppet-windns > > If you want to build a dc, dcpromo creates and uses a scripted unattended > file.http://technet.microsoft.com/en-us/library/cc732887.aspx > > You could easily use an exec resource to run dcpromo. Use an unless > param script to see if target is a dc already. > > Dhcp shouldn't be colo on a dc, but you could add roles with dism module > and leverage powershell module to do anything you want. In 2012 dcpromo is > powershell... > > HTH, > Rich > > -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/puppet-users. For more options, visit https://groups.google.com/groups/opt_out.
