A simple script to connect to a windows client inside a domain. Edit your domain to the desired working domain and put the script location in your PATH.
Usage is simply, start the script and it asks for a destination (IP or hostname), a username and a password. Alternatively you can pass the IP/hostname as the first variable.