You haven't specified what kind of connection you're trying to make, so no one can really answer you. OS fingerprinting is a seperate issue from making these connections, whatever they turn out to be.
Anyway, there is no command line tool included with windows that even vaguely matches your description.