This video demonstrates the usage of imagex together with either Windows Vista AIK or Windows 7 AIK. A detailed command description can be found here.
The video shows the capturing of an installed "ready-to-clone" image where it will be saved to an external hard drive. The second part shows the deployment to a fresh system where the target disk still needs to be prepared.