Here is a simple script to convert VHD file to WIM file #set the VHD mount folder $Mount="c:\mount" #create a folder c:\mount Mkdir $Mount #mount the Read More Powershell script to convert VHD to WIM file