Skip to main content
Version: v0.4

Azure Storage - Tables

This module provides the following capabilities:

Installation

To have access to the following features, you have to import the module:

PS> Install-Module -Name Arcus.Scripting.Storage.Table -RequiredVersion 0.4.0

Creating a new table in an Azure Storage Account

(Re)Create a Azure Table Storage within an Azure Storage Account.

ParameterMandatoryDescription
ResourceGroupNameyesThe resource group where the Azure Storage Account is located
StorageAccountNameyesThe name of the Azure Storage Account to add the table to
TableNameyesThe name of the table to add on the Azure Storage Account
RecreatenoThe optional flag to indicate whether or not a possible already existing table should be deleted and re-created

Example

With non-existing table:

PS> Create-AzStorageTable -ResourceGroupName "stock" -StorageAccountName "admin" -TableName "products"
# Creating table 'products' in the storage account 'admin'..."

With existing table and re-create:

PS> Create-AzStorageTable -ResourceGroupName "stock" -StorageAccountName "admin" -TableName "products" -Recreate
# Deleting existing table 'products' in the storage account 'admin'...
# Creating table 'products' in the storage account 'admin'..