DRAG DROPYou install a new Nano Server named Nano1. Nano1 is a member of a workgroup and has an IP address of 192.168.1.10.
You have a server named Server1 that runs Windows Server 2016.
From Server1, you need to establish a Windows PowerShell session to Nano1.
How should you complete the PowerShell script? To answer, drag the appropriate cmdlets to the correct targets. Each cmdlet may be used once, more than once, or not at all. You may need to drag the split bar
between panes or scroll to view content.
Select and Place:
Explanation:
How to access Nano Server
Because Nano Server does not support a local session, it must be accessed remotely.
Start an elevated PowerShell ISE session.
Set the Trusted Host.
This is a one-time setting for each remote machine. You’re basically telling your development machine to trust the remote Nano Server.
Set-Item WSMan:\\LocalHost\\Client\\TrustedHosts “192.168.0.100”
3. Start the session.
Enter the following commands into the PowerShell ISE command line:
$ip = “192.168.0.100” # replace with your Nano Server’s IP address
$s = New-PSSession -ComputerName $ip -Credential ~\\Administrator
Enter-PSSession -Session $s
References: https://msdn.microsoft.com/en-us/library/mt708805(v=vs.85).aspx