2.4.Remote login
$passwd = convertto-securestring -AsPlainText -Force -String admin $cred = new-object -typename System.Management.Automation.PSCredential -argumentlist "workgruop\moxa",$passwd $session = new-pssession -computername 192.168.31.23 -credential $cred Enter-PSSession -session $session
Last updated