Is there any command line tool available to supply user name and password on destination computer before executing any command.
I will be running : REG.EXE QUERY \\computer_name\HKLM\System\CurrentControlSet\Services /s > result.txt
I'm processing the above commnd in a script. Some servers are skipped because they need different user name and password. If any command line tool is available that can be used to establish the connection (not necessarily secure) with remote computer and then next (REG.EXE) command or available commands.