#2 Windows Server 2016 ● Manage a Nano Server ● With PowerShell
- il y a 8 ans
After installing a nano server, you can manage it through remote powershell. This howto shows the way to proceed.
to establish the connection with a nano server use the script below with replacing the values that suit your environment.
Script.ps
Set-Item WSMan:\localhost\Client\TrustedHosts "192.168.1.51"
$ip = “192.168.1.51”
$user = “$ip\Administrator”
Enter-PSSession -ComputerName $ip -Credential $user
Created by Christian ALT for http://vision6D.com
Channel about IT Technology, Management and Communication
to establish the connection with a nano server use the script below with replacing the values that suit your environment.
Script.ps
Set-Item WSMan:\localhost\Client\TrustedHosts "192.168.1.51"
$ip = “192.168.1.51”
$user = “$ip\Administrator”
Enter-PSSession -ComputerName $ip -Credential $user
Created by Christian ALT for http://vision6D.com
Channel about IT Technology, Management and Communication