DISM

Mounting a WIM:

Dism /Mount-Wim /WimFile:{Path To WIM} /index:{INDEX} /MountDir:{PATH TO MOUNT DIR}

Adding a package to a WIM:

Dism /image:{PATH TO MOUNT DIR} /Add-Package /PackagePath:{PATH TO PACKAGE}

Adding Drivers:

DISM /image:{PATH TO MOUNT DIR} /Add-Driver /driver:{PATH TO DRIVER FOLDERS} /recurse /ForceUnsigned

Un-mounting WIM:

Dism /Unmount-Wim /MountDir:{PATH TO MOUNT DIR} /Commit
Dism /Unmount-Wim /MountDir:{PATH TO MOUNT DIR} /Discard

Capture an image note: you may have to call Dism with the full path e.g. C:\Windows\System33\Dism\Dism.exe

Dism /Capture-Image /ImageFile:{PATH TO WIM} /CaptureDir:{DRIVE TO CAPTURE} /Name:"My Windows partition"

Apply an image:

Dism /Apply-Image /ImageFile:{PATH TO WIM} /index:{INDEX} /ApplyDir:{DRIVE TO APPLY TO}