Editar

Compartir a través de


Get-AzStorageTable

Lists the storage tables.

Syntax

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

Description

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

Examples

Example 1: List all Azure Storage tables

Get-AzStorageTable

This command gets all storage tables for a Storage account.

Example 2: List Azure Storage tables using a wildcard character

Get-AzStorageTable -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

Get-AzStorageTable -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-AzStorageContext 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:True

-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