Have you ever needed to verify which drivers you've injected on your WIM file?
Ever been asked to get a list of the injected drivers for a report and needed to take a lot of time just creating tables and formatting the information for reporting?
Well, here's a nice tip that can save you a lot of time!
Follow these steps:
- Open Windows ADK command-prompt as Administrator
- Mount your WIM file on disk, for example:
DISM /Mount-Wim /WimFile:D:\ISOS\Win81\sources\install.wim /index:1 /MountDir:D:\MountPoint
- Now, just use the above command to get all inject drivers and format the output:
DISM /image:D:\MountPoint /Get-Drivers /format:table
And there you go! Nice format list of injected drive on your WIM! :)