HP provides a script in the script repository that will enable the Windows Hyper-V role using PowerShell commands or ServerManagerCmd
.
To create a Windows scripted installation OS Build Plan that enables Hyper-V role after the OS installation
-
Save a copy of the HP-provided Windows OS Build Plan, changing its name to better reflect the Windows functionality being installed.
-
At the end of the OS Build Plan, after the OS has been installed, add the HP-provided script Add Windows Hyper-V Role.
-
After the Add Windows Hyper-V Role step, add a Reboot step and a Wait for HP SA Agent step with the same script parameters as the last steps in the HP-provided Windows OS Build Plan.
|
|
NOTE: The Add Windows Hyper-V Role script can also be used as an example of how to add other Windows roles. Simply save it with a different name and modify it to suit your needs. |
|
|