Author Posts

August 24, 2016 at 11:04 am

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.

August 24, 2016 at 11:52 am

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

August 24, 2016 at 1:33 pm

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'