Is it possible to send Powershell commands to a computer that can only be reached by RDP? If yes, how?
Asked
Active
Viewed 54 times
-1
-
1you could, probably, force powershell to listen on 3389. https://serverfault.com/questions/384430/how-do-i-change-listener-port-in-powershell-winrm-2-0 – 4c74356b41 Jun 15 '17 at 12:13
-
1Configure the winrm to listen port 3389 using the commands. Then you can do the remote operations.`Set-Item WSMan:\localhost\listener\*\Port 3389` or `winrm set winrm/config/Listener?Address=*+Transport=HTTP '@{Port="3389"}'` – Ranadip Dutta Jun 15 '17 at 14:24
-
How can you run two different applications using the same port? – Bill_Stewart Jun 15 '17 at 17:16
1 Answers
-1
the help about_remoting topic covers various remote command options
also to configure winRM for powershell you can open a local Powershell session and run the Following command Enable-PSremoting
server 2012 and newer already have it enabled.

dburt667
- 31
- 2