Installation, Storage, and Compute with Windows Server 2016 — Question 53
You have a server named Server1 that runs Windows Server 2016.
The Windows Server 2016 installation media is mounted as drive D.
You copy the NanoServerImageGenerator folder from the D:\NanoServer folder to the C:\NanoServer folder.
You need to create a custom Nano Server image that includes the Hyper-V server role. The image will be used to deploy Nano Servers to physical servers.
Which two commands should you run? Each correct answer presents part of the solution.
Answer options
- A. New-NanoServerImage ""Edition Standard ""DeploymentType Guest ""MediaPath D:\ -TargetPath .\NanoServerImage\NanoServer.wim ""Compute
- B. Install-PackageProvider NanoServerPackage
- C. Import-PackageProvider NanoServerPackage
- D. New-NanoServerImage ""Edition Standard ""DeploymentType Host ""MediaPath D:\ -TargetPath .\NanoServerImage\NanoServer.wim ""Compute
- E. Import-Module C:\NanoServer\NanoServerImageGenerator
Correct answer: D, E
Explanation
The correct commands are D and E. Command D creates a custom Nano Server image configured as a Host with the necessary Hyper-V role, while Command E imports the required module for generating the Nano Server image. Options A, B, and C are incorrect as they either specify the wrong deployment type or do not relate to the image creation process needed for Hyper-V.