< Back

New-AzureStorageTable

Tue Jan 29, 2019 9:27 pm

NAME New-AzureStorageTable



SYNOPSIS

Creates a storage table.





SYNTAX

New-AzureStorageTable [-Name] <String> [-Context <IStorageContext>] [<CommonParameters>]





DESCRIPTION

The New-AzureStorageTable cmdlet creates a storage table associated with the storage account in Azure.





PARAMETERS

-Context <IStorageContext>

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



Required? false

Position? named

Default value None

Accept pipeline input? True (ByPropertyName, ByValue)

Accept wildcard characters? false



-Name <String>

Specifies a name for the new table.



Required? true

Position? 0

Default value None

Accept pipeline input? True (ByPropertyName, ByValue)

Accept wildcard characters? false



<CommonParameters>

This cmdlet supports the common parameters: Verbose, Debug,

ErrorAction, ErrorVariable, WarningAction, WarningVariable,

OutBuffer, PipelineVariable, and OutVariable. For more information, see

about_CommonParameters (http://go.microsoft.com/fwlink/?LinkID=113216).



INPUTS

IStorageContext

Parameter 'Context' accepts value of type 'IStorageContext' from the pipeline



String

Parameter 'Name' accepts value of type 'String' from the pipeline





OUTPUTS

Microsoft.WindowsAzure.Commands.Common.Storage.ResourceModel.AzureStorageTable







NOTES









Example 1: Create an azure storage table



PS C:\\>New-AzureStorageTable -Name "tableabc"



This command creates a storage table with a name of tableabc.





Example 2: Create multiple azure storage tables



PS C:\\>"table1 table2 table3".split() | New-AzureStorageTable



This command creates multiple tables. It uses the Split method of the .NET String class and then passes the names on the pipeline.







RELATED LINKS

Online Version: https://docs.microsoft.com/en-us/powers ... oragetable

Get-AzureStorageTable

Remove-AzureStorageTable