How To Connect To A Windows Nano Server Using PowerShell

In this article, I’ll show you how I connect to my Windows Server 2016 using PowerShell Remoting.

To get started, I Open a Windows PowerShell console.

Note:If your Nano Server Is not part of your domain type the line below, do add it to the Trusted Hosts list on your machine.

Set-Item WSMan:\localhost\Client\TrustedHosts -Value -Concatenate

Next, I type the line below to Connect to my Windows Nano Server 2016:

Enter-PSSession -ComputerName -Credential Administrator

Now I can run any available PowerShell cmdlet