I am taking a quick break from the WMI PowerShell scripts while I take a short Mothers Day vacation, more WMI scripts when I get back! Unattended Hyper-V installation has been one of the most read TechNet forum posts I wrote and it also seems that a lot of people where doing the installation wrong. This sample was generated using Windows Automated Installation Kit (AIK), this is a tool that allows you to build unattened xml files for Windows 6.0 OS’s (Vista and Server).
Make sure you update the path to the update cab file. To extract the cab file download the RC0 update from the Microsoft Download Center then run expand -f:* Windows6.0-KB949219-x64.msu <folderToExtractTo>.
| <?xml version=”1.0″ encoding=”utf-8″?>
<package action=”install” permanence=”permanent”>
<assemblyIdentity name=”Package_for_KB949219″ version=”18.104.22.168″ processorArchitecture=”amd64″ publicKeyToken=”31bf3856ad364e35″ language=”neutral” />
<source location=”<PathToUpdateCab>Windows6.0-KB949219-x64.cab” />
<assemblyIdentity name=”Microsoft-Windows-Foundation-Package” version=”6.0.6001.18000″ processorArchitecture=”amd64″ publicKeyToken=”31bf3856ad364e35″ language=”” />
<selection name=”Microsoft-Hyper-V” state=”true” />
<selection name=”Microsoft-Hyper-V-Management-Clients” state=”true” />
Have a great Mothers Day weekend!!! And remember every mom needs a copy of Windows Server with Hyper-V RC0 pre-installed, seriously odds are pretty good flowers are a better Mothers Day gift. 🙂
-Hyper-V Test Lead