Quantcast
Channel: File Services and Storage forum
Viewing all articles
Browse latest Browse all 13565

Create and modify shares on a Windows Server 2008R2 Cluster

$
0
0

Hello,

I am searching for a script to create a Share on a windows 2008R2 Cluster. This new share have to set the Share-Caching option "No files or programs from the share are avaible offline" I found a Script to create a share (WMI Win32_Share) but I cant find annything about modify the share options.

The best tool for me is powershell but anny other Language is wellcome too.

maybe there is a way to disable the option for all new shares an this server? Thats a possible workarround.

Thnaks a lot



Viewing all articles
Browse latest Browse all 13565

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>