David Jones

Explore articles and content from this author

David Jones

7 articles published

1 min read

Colecting Certificates form an Enterprise CA for use with DSC

In a domain environment auto enrollment can be used to get create unique certificates for each node that can be used with DSC.  The problem is getting the public cert to the machine that creates the DSC MOF files. I wrote a module last year to collect them directly form the Enterprise CA. If it interests you take a look https://blog.bladefirelight.com/nuggets/collecting-ca-certificates-for-dsc-configuration/

1 min read

Convert ISO and WIM to VHD with a module

Convert-WindowsImage.ps1 is a very popular method to create VHD’s with. However it’s not a module, and in it’s current form cant be added to one.

So I have started a new project on GitHub called WindowsImageTools and posted the results to the PowerShell Gallery.

It has a few functions so far. Convert-Wim2Vhd, to do the work,  and New-UnattendXml because it hate having to edit XML to make minor changes. The resulting XML is universal in that it works on both 32 and 64 bit and will do a silent install (currently on Volume Media only). Then it auto-logs on the Admin and run a PowerShell script to kick off what ever you need bootstrapped (like DSC)

1 min read

Building a test lab : The basics Part 1 RootCA

Part of building a functional test lab is being able to deal with cattle and not pets. With that in mode I’m writing a series about the script necessary to build a production like lab for testing DSC, and be able to to tear it down and rebuild it with little effort.

Part 1 is about bootstrapping DSC for the Root CA. and doing so without using plaintext passwords.

I would welcome some feedback on both my methods and writing style.

1 min read

Creating a small footprint, base image Part 4 | Bringing it all together with automation

In this entry I combing all I covered into a set of scripts to automate the process of creating a small footprint VHDX base image and a WIM to use a sorce that is fully patched. And I added a script to update the files on a regular basis.
Check it out and let me know what you think.
Creating a small footprint, base image Part 4 | Bringing it all together with automation