Create a Share from a Remote Machine using Command Line or Script
Posted on 2011-09-14
I would like to know if there is a way to create a share remotely from a command prompt or script from a Windows machine to a non-Windows machine. I am trying to do this on a Netapp SAN. I can delete a share with this simple command:
net share test \\server /delete (test is the share name)
I don't see a way to create a remote share with net share though. There may be other ways, but a lot of the Microsoft tools rely on WMI or the RPC service, which of course does not translate to Netapp. Anyone know of a way to do this?