Managing IIS 10.0 on Nano Server
In this recipe, we will remotely connect via PowerShell to Nano Server, and we will check out the default website. We will start up and stop website services of the default website.
Getting ready
To step through this recipe, we are going to manage IIS 10.0 on Nano Server 2016 through PowerShell. IIS 10.0 on Nano Server can only be managed using PowerShell. You will need a Nano Server 2016 instance. For all this installation and configuration work, you should have administrative privileges.
How to do it...
- Go to the WIN2016IIS server. To connect Nano Server 2016 through PowerShell, we have to first log in to the
WIN2016IIS
server (any Windows Server 2016 or Windows 10 machine will do). We will use PowerShell to remotely connect to Nano Server at172.16.15.63
. - Open PowerShell with administrative rights on the
WIN2016IIS
server, press Windows + R, and you will get theRun
window, like in the previous chapter.
- Type the command
RunAs /user:Administrator PowerShell_ISE...