Get-AzStorageTable
Lists the storage tables.
Syntax
TableName (Default)
Get-AzStorageTable
[[-Name] <String>]
[-Context <IStorageContext>]
[-DefaultProfile <IAzureContextContainer>]
[<CommonParameters>]
TablePrefix
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.
Parameter properties
Type: | IStorageContext |
Default value: | None |
Supports wildcards: | False |
DontShow: | False |
Parameter sets
(All)
Position: | Named |
Mandatory: | False |
Value from pipeline: | True |
Value from pipeline by property name: | True |
Value from remaining arguments: | False |
-DefaultProfile
The credentials, account, tenant, and subscription used for communication with Azure.
Parameter properties
Type: | IAzureContextContainer |
Default value: | None |
Supports wildcards: | False |
DontShow: | False |
Aliases: | AzureRmContext, AzureCredential |
Parameter sets
(All)
Position: | Named |
Mandatory: | False |
Value from pipeline: | False |
Value from pipeline by property name: | False |
Value from remaining arguments: | 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.
Parameter properties
Type: | String |
Default value: | None |
Supports wildcards: | True |
DontShow: | False |
Aliases: | N, Table |
Parameter sets
TableName
Position: | 0 |
Mandatory: | False |
Value from pipeline: | True |
Value from pipeline by property name: | True |
Value from remaining arguments: | 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.
Parameter properties
Type: | String |
Default value: | None |
Supports wildcards: | False |
DontShow: | False |
Parameter sets
TablePrefix
Position: | Named |
Mandatory: | True |
Value from pipeline: | False |
Value from pipeline by property name: | False |
Value from remaining arguments: | False |
CommonParameters
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutBuffer, -OutVariable, -PipelineVariable, -ProgressAction, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.