Since discovering the OSDBuilder tool from @SeguraOSD and being massively impressed by how well documented it is, I’ve wanted to automate the process. The tool is already pain-free to use, but the idea of just grabbing updated media from a NAS whenever patches have been released sounds great to me.
For myself, I just need a pretty stock image with just one customisation, enabling .NET Framework, this means that the script to fully automate the process is fairly simple.
If you exclude the Jenkins portion of this post, you can simply run the PowerShell script and have the updated ISOs, I’m using Jenkins because I have some other ideas to improve the process and it seemed like the right tool for it. In the current implementation, you could quite simply use Task Scheduler instead.