How to Map drives on Windows with PSEXEC
Something easy as net use command can be headeache if we do inside psexec command. This is useful to deploy software specially heavy, but it becomes a little bit diferent as usual.To map drive we can do:
psexec \\machine net use f: \\server\folder /user:usuario psswd
The main trouble found is expect user's psexec executor is the same net use's credential. net use embedded on psexec need it's own credential, that's the point.