You mean apart from scripting the removing+remaking of the shares? *grin*
I think not because the question of invisibility lies in the name of the share. So in order to change the visibility you have to create a new share! But ofcorse... there is that wonderfull thing they call a regisrty so maybe an automated edit is possible of:
HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\LanmanServer\Shares\ ...

If you rename the keys and reboot you'll have the new share available! *BE CAREFULL*