When you start planning to deploy Nano Server-based virtual machines, you need to make sure the following packages are added into the Nano Server image that we will use in the steps that follow.
Follow the steps mentioned below to create a VHD(X) image for a virtual machine:
- Mount the Windows Server 2016 ISO medium on your machine. In this example, it's mounted in the H drive.
- Start Windows PowerShell as an administrator, and run the following script to create a VHD(X) for virtual machine deployment that includes the SCVMM packages. You will be prompted for an administrator password:
#region variables$ComputerName='NANOVM-01'# Staging path for new Nano image$StagingPath='C:\'# Path to Windows ...