Remoting to a 2012 Core server

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.

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’