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 192.68.0.21 -Concatenate
Next, I type the line below to Connect to my Windows Nano Server 2016:
Enter-PSSession -ComputerName 192.68.0.21 -Credential Administrator
Now I can run any available PowerShell cmdlet
Got a project that needs expert IT support?
From Linux and Microsoft Server to VMware, networking, and more, our team at CR Tech is here to help.
Get personalized support today and ensure your systems are running at peak performance or make sure that your project turns out to be a successful one!
CONTACT US NOW