Tony had a question about automating the installation of the Integration Services (aka Integration Components) for Hyper-V.
You can copy the contents of the Integration Services ISO onto a physical system before performing a manual P2V (say, into a new C:\IS_install directory).
Running setup in the AMD64 setup directory (C:\IS_install\AMD64\support\setup.exe /quiet) will install the ISs and reboot the system. Automating the install is something I used to do via RIS (for the Windows Server 2003 Compute Cluster Edition), as it used RIS for deployment. Back then it was a bit of a complicated process, as I would stick the ISs into the D:\RemoteInstall\Setup\English\Images\WINDOWS\$OEM$\$1\IC_Install directory and then call a script to invoke the install that could also close the installer (back when Hyper-V was in beta). The script I used “back in the day” is below, but you shouldn’t need it any more, as the installer for the ISs is much better.
set WshShell = CreateObject("WScript.Shell")
delay = 800
set objShell = WScript.CreateObject("WScript.Shell")
‘Wait for window – This was the special sauce
While WshShell.AppActivate("Installation Complete") = FALSE
All your have to figure out is how you want to invoke setup as part of your automated installation.