2.4.Remote login

  • Once you set up remote control environment complete , you can log in to remote computer like using ssh.

  • for example, if the account/password/IP of DUT is moxa/admin/192.168.31.23, you can open powershell terminal and type:

      $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 
  • Once Powershell Remote environment was set completed, the network connection type can be public .

Last updated

Was this helpful?