I have gone through various links on SO regarding RDP to a windows machine but still can't understand how to execute for test, ipconfig
command on remote machine and gather the results in a text file.
I can't get beyond Mstsc
which creates the gui and asks for password and username.