Get Volume Information Action

Description

Returns specific information about a drive (volume type, volume label, user quota, capacity, available space, used space) and populates an Automated Workflow variable with the result, or creates and populates a dataset that contains all parameters about all drives on the system. Volume sizes are expressed in KB.

Used to retrieve system drive data (see Description).

Declaration

<AMGETDRIVEINFO DRIVE="text [options]" DRIVENAME="text" DRIVEINFO="text [options]" RESULTVARIABLE="text [variable name]" RESULTDATASET="text [dataset name]" />

Examples

<AMGETDRIVEINFO DRIVE="SINGLE" DRIVENAME="C:\" DRIVEINFO="VOLUMELABEL" RESULTVARIABLE="VariableName" />

<AMGETDRIVEINFO DRIVE="ALL" RESULTDATASET="VolumeInfoDataset" />

General Tab Parameters

Click One volume or All volumes: Specifies whether to get one or all volumes.  

The available options are:

Single - This will get one volume's specific information into Automated Workflow Variable.

All - This will get all volume's all information into Automated Workflow dataset.

Text, Optional - Default "SINGLE"
MARKUP: DRIVE="ALL"

Volume: Specifies the drive from which to get data. Valid only if DRIVE parameter is "Single."

Text, Optional - Default "C:\"
MARKUP: DRIVENAME="C:\"

Information to retrieve: Specifies the type of information with which to populate the variable. Valid only if DRIVE parameter is "Single."

  • (Default): Volume type

  • VOLUMELABEL: Volume label

  • FILESYSTEM: File system

  • AVAILABLESPACEFORUSER: Current user's available space

  • TOTALAVAILABLESPACE: Total available space

  • TOTALSIZEOFDRIVE: Total capacity

  • USEDSPACE: Used space

Text, Optional - Default: volume type
MARKUP: DRIVEINFO="VOLUMELABEL"

Populate variable with result: Specifies the name of an already created variable to be populated with the specified drive data. Valid only if DRIVE parameter is "Single."

Text [Variable Name], Required
MARKUP: RESULTVARIABLE="VariableName"

Dataset to populate: Specifies the name of an Automated Workflow dataset to be created and populated with the drive data. Valid only if DRIVE parameter is "All."

Text [Dataset Name], Required
MARKUP: RESULTDATASET="VolumeInfoDataset"