Manage disk quota
Top  Previous  Next


Create account, set disk quota / delete disk quota and account

[Settings_Begin]
BatchSettings.Delimiter=TAB
BatchSettings.MarkerCol=5
SET AccountName=%Col1%
Account.Password.Col=2
[Settings_End]

[Machines_Begin] 
\\EDU8 NT PDC
[Machines_End]

[Batch_Begin]
Data.Loop
 Account.Create %AccountName% 
 DiskQuota.Set %ServerName%\w$\,%AccountName%,7,10 
Data.Endloop 
[Batch_End] 

[Undo_Batch_Begin]
Data.Loop
 DiskQuota.Remove %ServerName%\w$\,%AccountName% 
 Account.Delete %AccountName% 
Data.Endloop 
[Undo_Batch_End] 

[Data_Begin]
account1   password 
[Data_End]