How to convert this script:
NET USE \\65.161.3.129\someFolder\test /u:somedomain\user myPassword123!
robocopy . \\65.161.3.129\someFolder\test /s
NET USE \\65.161.3.129\someFolder\test /d
or with parameter:
Param($mypath)
NET USE $mypath /u:somedomain\user myPassword123!
robocopy . $mypath /s
NET USE $mypath /d
How to make similar script that works in linux /bin/sh?
I want to copy files to some network location (windows shared folder). There is no scp on windows server and i cannot install anything.