Remoting to a 2012 Core server

This topic contains 2 replies, has 2 voices, and was last updated by Profile photo of Jarle Osmund Vågen Jarle Osmund Vågen 1 month ago.

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
  • #51722

    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.

    Profile photo of Edmond Yee
    Edmond Yee

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


    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'

Viewing 3 posts - 1 through 3 (of 3 total)

You must be logged in to reply to this topic.