How to Enable/Disable rdp using powershell
Enable RDP rule in Windows Registry : reg add „HKEY_LOCAL_MACHINESYSTEMCurrentControlSetControlTerminal Server“ /v fDenyTSConnections /t REG_DWORD /d 0 /f Disable RDP rule in Windows Registry : reg add „HKEY_LOCAL_MACHINESYSTEMCurrentControlSetControlTerminal Server“ /v …