In this recipe, we remotely connected PowerShell with Nano Server to manage IIS over the IISAdministrator module. We used a Windows Server 2016 virtual/physical server instance for remote PowerShell management and creating a virtual directory on Nano Server 2016. We also created a website named NanoAspnet and created a virtual directory MyApp inside NanoAspNet.