O'Reilly logo

Getting Started with Nano Server by Charbel Nemnom

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Preparing a Nano Server VHD for a virtual machine

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:

  1. Mount the Windows Server 2016 ISO medium on your machine. In this example, it's mounted in the H drive.
  2. 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 ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required