SpaceGuard Disk Quota

SpaceGuard SRM
Disk Quota Management Solution

Command Line Interface

SpaceGuard SRM supports a robust Command Line Interface (CLI) for network administrators to use in scripts or batch files. The Command Line Interface is perfect for scripting quota reports and adding and deleting quotas.

Options:

  1. SgSRMCli ADD <COMPUTER> "<DIRECTORY>" "[LIMIT]" "[LIMIT]" .... "[LIMIT]"
  2. SgSRMCli DELETE <COMPUTER> <DIRECTORY>
  3. SgSRMCli LIST <COMPUTER> [DIRECTORY] [COMMAND]
  4. SgSRMCli EXPORT <COMPUTER> [OPTIONS]

Examples:

Add Quota  
Command: SgSRMCli ADD <SERVER> F:\Users\JDOE" 10,A(POPUP;1;5;JDOE;You exceeded the limit!)A"
Response: Number of limits: 1
Limit number 1:
Limit size: 10.00 MB
Number of alarm actions: 1
Alarm action number 1:
Type of Alarm Action: POPUP.
Destinations: JDOE
Message: You exceeded the limit!
Repeat Count: 1
Repeat Delay: 5
Quota directory: F:\Users\JDOE
Successfully added the quota for directory 'F:\Users\JDOEh' on computer <SERVER>.
Delete Quota  
Command: SgSRMCli DELETE <SERVER> F:\Users\JDOE
Response:

Removing quota from directory F:\Users\JDOE\rock on computer <SERVER>.
Successfully removed the quota from directory F:\Users\JDOE on computer <SERVER>.

 

The command line interface can also be used to install local or remote services from a batch file or script, allowing unattended installations. The command line interface application provides options to "INSTALL", "UNINSTALL" and "CONFIGURE" local and remote services, facilitating all basic installation and configuration functions provided by the SpaceGuard SRM console.

Options:

  1. SgSRMCLi INSTALL <COMPUTER> [OPTIONS]
  2. SgSRMCLi UNINSTALL <COMPUTER>
  3. SgSRMCLi CONFIG <COMPUTER> [OPTIONS]

Disk Quota
ADDITIONAL INFORMATION

Disk Quota Options

 

User Quota
VIDEOS