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

Set DFS Quota from command line

$
0
0

I spent and hour researching how to set the DFS staging quota from command line.  Here's the command to help others. 

RGname is replication group name

GRname is replication folder name

Memname is the name of the replication group member (server name). 

dfsradmin.exe Membership Set /RgName:deployment /RfName:APPV /StagingSize:25600 /MemName:BDSS

I like to take a command like this and paste it into excel.  From there, I make the actual computer name be a new column so I can copy/paste a list of server names.  Next, I copy paste the command down the rows as far as I need to match the number of server names I imported.  Finally, highlight the entire script and paste it into notepad.  You must then remove the tab characters by using the replace option in notepad.  Highlight a tab, paste it into the "find" field and leave the replace with field empty. 

Hilight the whole script again in notepad and paste it into a command prompt or save it as a cmd file as you see fit.



Viewing all articles
Browse latest Browse all 16038

Trending Articles



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