/usr/local/bin/wimcapture
The wimcapture command create ('capture') a new Windows Imaging (WIM) image. wimcapture creates a new WIM archive WIMFILE to contain the new image.