Get-AzureStorageTable

Lists the storage tables.

Warning

The AzureRM PowerShell module has been officially deprecated as of February 29, 2024. Users are advised to migrate from AzureRM to the Az PowerShell module to ensure continued support and updates.

Although the AzureRM module may still function, it's no longer maintained or supported, placing any continued use at the user's discretion and risk. Please refer to our migration resources for guidance on transitioning to the Az module.

Syntax

Get-AzureStorageTable
   [[-Name] <String>]
   [-Context <IStorageContext>]
   [-DefaultProfile <IAzureContextContainer>]
   [<CommonParameters>]
Get-AzureStorageTable
   -Prefix <String>
   [-Context <IStorageContext>]
   [-DefaultProfile <IAzureContextContainer>]
   [<CommonParameters>]

Description

The Get-AzureStorageTable cmdlet lists the storage tables associated with the storage account in Azure.

Examples

Example 1: List all Azure Storage tables

PS C:\>Get-AzureStorageTable

This command gets all storage tables for a Storage account.

Example 2: List Azure Storage tables using a wildcard character

PS C:\>Get-AzureStorageTable -Name table*

This command uses a wildcard character to get storage tables whose name starts with table.

Example 3: List Azure Storage tables using table name prefix

PS C:\>Get-AzureStorageTable -Prefix "table"

This command uses the Prefix parameter to get storage tables whose name starts with table.

Parameters

-Context

Specifies the storage context. To create it, you can use the New-AzureStorageContext cmdlet.

Type:IStorageContext
Position:Named
Default value:None
Required:False
Accept pipeline input:True
Accept wildcard characters:False

-DefaultProfile

The credentials, account, tenant, and subscription used for communication with Azure.

Type:IAzureContextContainer
Aliases:AzureRmContext, AzureCredential
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-Name

Specifies the table name. If the table name is empty, the cmdlet lists all the tables. Otherwise, it lists all tables that match the specified name or the regular name pattern.

Type:String
Aliases:N, Table
Position:0
Default value:None
Required:False
Accept pipeline input:True
Accept wildcard characters:False

-Prefix

Specifies a prefix used in the name of the table or tables you want to get. You can use this to find all tables that start with the same string, such as table.

Type:String
Position:Named
Default value:None
Required:True
Accept pipeline input:False
Accept wildcard characters:False

Inputs

String

IStorageContext

Outputs

AzureStorageTable