Hey Steve,
On Tue, Jan 19, 2010 at 05:48, steve klise klises@caminomedical.org wrote:
net view \<server name>
....
rsh <filername> cifs shares -add <name of share> /vol/volume_for_your_share/
Be aware that you will not be copying any permissions set on the share level in this way. If you have share-level permissions, you can set them using the "cifs access" command.
This example hands out Full Control to the domain users group:
plink -ssh root@toaser 'cifs access myshare "CORP\Domain Users" Full Control'
Good luck with the scripting!