Get Available Disk Space (GB)
This Automation Manager object returns the available space on the given drive.
Privileges
Normal
Input Parameters
Name | Type | Required | Description |
---|---|---|---|
Drive | String | Yes |
The letter of the drive (C:) on which to evaluate the disk usage.
The colon must be included. |
Output Parameters
Name | Type | Description |
---|---|---|
DiskSpace | Number | The amount of available space for the given drive (measured in GB). |
Result | Number | Returns a success value of zero or any value other than zero to indicate failure. |
Example Input Parameters
Name | Type | Required | Example |
---|---|---|---|
Drive | String | Yes | C:\ |