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

Advanced settings

The New-NanoServerImage supports an extended set of advanced parameters as well:

  • -MaxSize: If you need larger images, you can supply -MaxSize to create a larger, dynamically expanding VHD(X) (that is, MaxSize 100 GB). If you don't use this parameter, the default disk size is 4 GB.
  • -LogPath: This parameter sets the location where you want to save the logs created while building the Nano image.
  • -EnableRemoteManagementPort: If you need to open port 5985 for inbound TCP traffic to connect using WinRM from a different subnet.
  • -MergePath: If you need to embed your own script or binaries into the Nano Server image, you can supply -MergePath to copy a file or a directory into the root of the image (that is, -MergePath .\tools

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