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

Building and customizing a Nano Server image using Windows PowerShell

First, you need to mount Windows Server 2016 ISO media on any Windows 10 or Windows Server 2016 machine.

Assuming the drive letter for the mounted image is E:

Run the following PowerShell cmdlet:

Copy "E:\NanoServer""C:\NanoServer" -Recurse 

We are copying the NanoServer folder from the mounted ISO image into C:\NanoServer locally.

Import the NanoServerImageGenerator.psd1 PowerShell module by running the following command:

Import-Module "C:\NanoServer\ NanoServerImageGenerator\NanoServerImageGenerator.psd1" -Verbose 
Figure 4: Nano Server. Import PowerShell Module

After ...

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