I'm looking for a way to copy files over to/from remote Windows hosts, and need to provide domain user credentials as part of the process, similar to the way psexec
does.
I know I can use net use
to map the target directory to a drive letter and use xcopy
, and I know psexec
can upload files to be executed on the remote machine and then delete them, but I'm looking for a way to distribute files to remote hosts that will not be as awkward to use as net use
and xcopy
.