
So when you install Server 8 Core by default, Powershell Remoting is configured and a firewall rule is enabled to allow communication, But what if you still need RDP access?
Here’s a quick script that will enable RDP access to Server 8 Core and configure the firewall appropriately.
You can run this from a powershell remoting session, or via the console:
[sourcecode language=”powershell”]
(Get-WmiObject win32_TerminalServiceSetting -Namespace rootcimv2TerminalServices).SetAllowTSConnections(1)
import-module netsecurity -ea stop ; Get-NetFirewallRule | ? {$_.displayname -like "remote desktop*"} | Set-NetFirewallRule -enabled true
[/sourcecode]


how to enable remote desktop on windows server 2012
http://winplat.net/post/2012/07/16/How-to-enable-Remote-Desktop-on-Windows-‘8’.aspx
Thanks Andrew , worked like a charm !