Remoting to a 2012 Core server

This topic contains 2 replies, has 2 voices, and was last updated by  Jarle Osmund Vågen 1 year, 10 months ago.

  • Author
  • #51722

    Jarle Osmund Vågen

    What is the most easy way to access cli on a fresh standalone 2012 Core server (with no roles og features installed) remotely in a similiar way we access a linux host? Using Debian I would do a 'apt-get install ssh' and use ssh to acces the hosts cli.

  • #51743

    Edmond Yee

    It sounds like you should install WinRM. This allows for PowerShell Remoting sessions

    • #51748

      Jarle Osmund Vågen

      I was dealing with this in a lab, with only two machines one with w10 and one with 2012Core. To do what I wanted, I used WinRM as suggested. WinRM was installed by default, so here is what I did:

      Installed w10
      Installed server2012Core

      I configured a static address on the client, using powershell I also configured a static address on the 2012Core (using New-NetIPAddress)

      , on the client I put the 2012Core hostname and ipaddress into c:\windows\system32\drivers\etc\hosts.
      ,on the client I then ran 'set-item wsman:\localhost\client\trustedhosts 2012Corehostname'
      ..and was able to get a remote shell using 'Enter-PSSession -computername -credential administrator'

You must be logged in to reply to this topic.