2013-06-26

匯出/匯入磁碟配額範本

匯出用批次檔:
@echo off
set FileName=D:\FolderQuota_%DATE:~0,4%%DATE:~5,2%%DATE:~8,2%.xml
dirquota template export /file:%FileName%

匯入:
dirquota template import /file:QuotaTemplates.xml

套用:
dirquota quota add /path:D:\TargetFolderName /sourcetemplate:QuotaTemplateName

DirQuota on Microsoft TechNet

沒有留言:

張貼留言