Connect To Nano Server 2016 Using Saved Credential

In this article and as part of my very long series of articles about Nano Server I’ll show you how I connect to my Nano Server 2016 remotely using saved Credential without needing to type a user name and password.

Simply save the code below and just change the details In the code:

$password = ConvertTo-SecureString "password" -AsPlainText -Force

$cred= New-Object System.Management.Automation.PSCredential ("administrator", $password )

Enter-PSSession -computername nano1 -Credential $cred


Posted

in

by