You will have to do some work though to pull out only what you need, but this should do what you need. I used that for getting the shares, then I used shell commands to run (with command line options), the rmtshare.exe program, which you can download from microsoft, to add/remove shares, permissions, etc.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.