How to Enable Remote Desktop (RDP) Remotely?
How to Enable Remote Desktop (RDP) Remotely?
How to Enable Remote Desktop (RDP) Remotely? – TheITBros
Enable-PSRemoting
Hint. If you need to enable RDP on several remote computers at once, you can use the following PowerShell script:
$comps = “Server1”, “Server2”, “Server3”, “Server4” Invoke-Command –Computername $comps –ScriptBlock {Set-ItemProperty -Path "HKLM:\System\CurrentControlSet\Control\Terminal Server" -Name "fDenyTSConnections" –Value 0} Invoke-Command –Computername $comps –ScriptBlock {Enable-NetFirewallRule -DisplayGroup "Remote Desktop"}
Comments