In this post I show you how you can enable Remote Desktop on Windows 10 via Group Policy, PowerShell, WMI, or psexec because even the geekiest CLI geek sometimes needs to RDP into a remote Windows machine.
https://4sysops.com/archives/enable-remote-desktop-remotely-on-windows-10/