Installing IIS 10.0 on Nano Server
In this recipe, we are going to install IIS 10.0 on Nano Server. We will create a Nano Server 2016 virtual machine by using PowerShell, which will be attached to our Hyper-V host server. We can use PowerShell commands to install IIS on Nano Server 2016.
Getting ready
To step through this recipe, we are going to create a Nano Server instance with IIS 10.0 using PowerShell commands. You will need a Windows Server 2016 virtual instance or a physical one of Nano Server 2016, and you also need Windows Server 2016 media. You already have a Hyper-V Host ready, where you have to attach your virtual machine. For the installation and configuration, you should have administrative privileges.
How to do it...
- Log in to Windows Server 2016. The IP of our Windows Server 2016 instance is
172.16.15.60
and the name isWIN2016IIS
, as shown in figure. - Mount the Windows Server 2016 media ISO on a CD drive. Open the CD drive, and you will find the
NanoServer
folder:

- Copy the
NanoServer...