Command Line Utility

In addition to the main GUI application, Azure DEX Ultimate provides a command line utility which allows one to analyze, search, classify, categorize, upload, download and delete files in one or more Azure storage accounts.

Azure Data Expert Command Line Utility

The command line utility provides the ability to create storage containers, upload files, manage data blobs in one or more storage containers, analyze disk space usage, save various types of disk space analysis reports and automate blob management operations from user-custom scripts and batch files.

Command Line Options:

azuredex -show_accounts

This command shows the list of configured Azure storage accounts.

azuredex -show_containers -account <Account Name>

This command shows the list of Azure storage containers in the specified storage account.

azuredex -create_container <Container Name> -account <Account Name>

This command creates a new storage container in the specified storage account.

Optional Parameters:

-public_access <blob | container>

blob - This option enables unauthorized users to access blob data in the container.

container - This option enables unauthorized users to access container and blob data.

azuredex -show_container_public_access <Container> -account <Account>

This command shows the container's public access permissions.

azuredex -delete_container <Container Name> -account <Account Name>

This command deletes the specified storage container including all data blobs stored in the storage container.

azuredex -show_blobs -account <Account Name> -container <Container Name>

This command shows data blobs stored in the specified storage container.

azuredex -sync -account <Account> -container <Container> -dir <Directory>

This command synchronizes files from the specified local directory to the specified storage container.

azuredex -sync_preview -account <Account> -container <Container> -dir <Directory>

This command shows the file synchronization preview from the specified local source directory to the specified destination storage container.

azuredex -upload -account <Account> -container <Container> -dir <Directory>

This command uploads data blobs from the specified local directory to the specified storage container.

azuredex -download -account <Account> -container <Container> -dest <Directory>

This command uploads data blobs from the specified local directory to the specified storage container.

azuredex -analyze -account <Account> -container <Container>

This command analyzes the disk space usage in the specified storage container.

azuredex -classify -account <Account> -container <Container>

This command classifies and categorizes data blobs in the specified storage container.

azuredex -search <File Filter> -account <Account> -container <Container>

This command searches data blobs in the specified storage container.

azuredex -execute <Command Name>

This command executes the user-defined analysis or data management command.

Snapshots Management Commands:

azuredex -blob_snapshots -account <Account Name> -container <Container Name> -blob <Blob Name>

This command shows previously created snapshots for the specified data blob.

azuredex -add_blob_snapshot -account <Account Name> -container <Container Name> -blob <Blob Name>

This command add a new snapshot to the specified data blob.

azuredex -add_snapshot -account <Account> -container <Container Name>

This command adds a new snapshot to all data blobs located in the specified container.

azuredex -restore_blob_snapshot -account <Account Name> -container <Container Name> -blob <Blob Name> [ -date <Snapshot Date> -dest <Destination Blob> ]

This command restores a previously created snapshot for the specified data blob. If the snapshot date is not specified, Azure DEX will restore the latest blob snapshot. In addition, the user is provided with the ability to specify a different blob name to restore the data blob to.

azuredex -restore_latest_snapshot -account <Account Name> -container <Container Name>

This command restores the latest snapshot for all data blobs stored in the container.

azuredex -restore_oldest_snapshot -account <Account Name< -container <Container Name>

This command restores the oldest snapshot for all data blobs stored in the container.

azuredex -delete_blob_snapshot -account <Account Name> -container <Container Name> -blob <Blob Name> -date <Snapshot Date>

This command deletes a previously created snapshot from the specified data blob.

azuredex -delete_blob_snapshots -account <Account Name> -container <Container Name> -blob <Blob Name>

This command deletes all previously created snapshots from the specified data blob.

azuredex -delete_latest_snapshot -account <Account> -container <Container>

This command deletes the latest snapshot from all data blobs located in the container.

azuredex -delete_oldest_snapshot -account <Account> -container <Container>

This command deletes the oldest snapshot from all data blobs located in the container.

azuredex -delete_snapshots_except_last -account <Account> -container <Container>

This command deletes all snapshots except the last one from all data blobs located in the specified container.

azuredex -delete_all_snapshots -account <Account> -container <Container>

This command deletes all snapshots from all data blobs located in the specified container.

Meta Data Management Commands:

azuredex -meta_data -account <Account> -container <Container> [ -blob <Blob> ]

This command shows user-defined meta data fields for the specified storage container or data blob.

azuredex -set_meta_data -account <Account Name> -container <Container Name>
[ -blob <Blob Name> ] -name <Meta Data Name> -value <Meta Data Value>

This command sets the specified meta data for a storage container or data blob.

azuredex -delete_meta_data -account <Account> -container <Container Name>
[ -blob <Blob Name> ] -name <Meta Data Name>

This command deletes the specified meta data field from a storage container or data blob.

azuredex -delete_all_meta_data -account <Account> -container <Container>
[ -blob <Blob Name> ] -name <Meta Data Name>

This command deletes all meta data from a storage container or data blob.

Miscellaneous Commands:

azuredex -help

This command shows the command line usage information.

azuredex -v

This command shows the version of the Azure Data Expert command line utility.

Optional Parameters:

-save_html_report [ Report File Name ]

This option allows to save an HTML report for analysis and search operations. If the file name is not specified, Azure Data Expert will generate a default file name.

-save_text_report [ Report File Name ]

This option allows to save a text report for analysis and search operations. If the file name is not specified, Azure Data Expert will generate a default file name.

-save_csv_report [ Report File Name ]

This option allows to save an Excel CSV report for analysis and search operations. If the file name is not specified, Azure Data Expert will generate a default file name.

-save_xml_report [ Report File Name ]

This option allows to save an XML report for analysis and search operations. If the file name is not specified, Azure Data Expert will generate a default file name.

-save_pdf_report [ Report File Name ]

This option allows to save a PDF report for analysis and search operations. If the file name is not specified, Azure Data Expert will generate a default file name.