This script will tattoo the registry during OS deployment in Configuration Manager with information like how it was launched, os deployment duration, osd start and stor time, task sequence name used and so on. I use the variable for OSD StartTime that we set in OSDBackground which I have blogged about here before:  and it can be downloaded from Technet Gallery


We can then inventory that information using Configuration Manager and create collections and create reports based on Task Sequence used, media type and originally installed Windows 10 build which can be useful in the future. I have added in this example OSD Duration so we really easy can see how long time the OS deployment took. 

More information can be found here: