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 importing the new PowerShell module using the -Verbose
parameter, you will notice we have in fact imported three commands: New-NanoServerImage
, Get-NanoServerPackages
, and Edit-NanoServerImage
:
- The
New-NanoServerImage
creates a new Nano Server image. - The
Edit-NanoServerImage
makes changes to an existing image that you already built. For example, you have created...