Excellent information! I'm very interested in this because, until now, I've only updated the main OS image, never WinRE or the BOOT.WIM. After reading this I plan to revise my procedures.
I do have a comment and a question:
1) Some of the double quote marks in the PowerShell script are curly quotes. The PowerShell script won't work like that. For anyone else copying the script from this page - make sure to to change all curly quotes to straight quotes! Most of the problems are end quotes but I did see at least one opening quote that was a curly quote.
2) Toward the end of the script, the comments state that optional components are being installed after the cleanup of the main OS image. It specifically references .NET 3.5. If I am NOT installing any optional version of .NET framework, can't I install the .NET CU before I do the image cleanup operation? Up until now, I've always been updating the main OS image with DISM and I've been adding in the .NET framework CU before the image cleanup with no difficulties.