Do this from the cmd prompt from a windows box: (I assume you have view admin rights to the shares)
net view \<server name>
copy the share names to a text file.
then, I use a rsh from an XP or box that has rsh enabled.
You can use an excel file with all the shares and volumes, or use a script.
rsh to your filer with the output rsh <filername> cifs shares -add <name of share> /vol/volume_for_your_share/
I have a script that calls a text file of all the shares with variables,,, Its not really sexy but gets it done. I can send to you if you wish. I created one from about 50 shares. It took about 1 minute to do it all... LOVE MY FILERS!!
You can do the same for qtrees.
David McWilliams wrote:
I am putting in a new filer to replace three Windows servers and in the process I will have to create approx 110 shares. I have heard that there is a way of scripting the process. does anyone have any information that they could provide for me on this process?
Sláinte,
David
"Build a man a fire he'll be warm for a day, set a man on fire and he'll be warm for the rest of his life" - Terry Pratchett
Checkout my photos - http://www.panoramio.com/user/1113507