I looking for a vbscript for RDP which will work in this way:
1) double click on the script and it will ask for the hostname to connect and press ok.
2) once entered the hostname or IP it will check whether this hostname exist in this text file (this text file will be on the network with all the exceptional hostnames)
3) if it exists dont RDP with a msg
4) if does not exist connect using RDP.