In this Windows Nano Server 2016 article, I’ll show you how I restart and Shutdown a Nano Server using PowerShell.
Because Windows Server 2016 comes without any GUI Interface and accessing the Recovery Console Is only possible from the Hyper-V host today I’ll show a quick option to restart or shut down your Nano Server.
The first step In this process Is to connect to my Nano Server using PowerShell with the line below:
Enter-PSsession Nnaod03
To restart the computer Immediately I use:
Restart-Computer -Force
To shut Down the Nano Server use the cmdlet below:
Stop-Computer -Force