Testing RDP connections

2

Given hostname (+ portnumber) + username + password, how do I get a yes/no answer to the question: Can I connect to host with username+password? from the commandline or a script? Is this possible?

something like:

testRdp.(sh/exe/ps1) hostname.tld:3389 johndoe NSAbackD00R that returns "yes"/"no" if connection+authentication is possible

I have several sites I need to log into (not regularly), and would like to get a warning, say once a day, if one of the sites have locked me out/changed password/changed firewall rules.

user1151537

Posted 2014-05-26T06:49:52.187

Reputation: 153

? ? ? ? ? ? ? ? – user1151537 – 2014-05-26T09:48:10.600

No answers