< Back

Remove-AzureStorageTable

Tue Jan 29, 2019 9:27 pm

NAME Remove-AzureStorageTable



SYNOPSIS

Removes a storage table.





SYNTAX

Remove-AzureStorageTable [-Name] <String> [-Context <IStorageContext>] [-Force] [-PassThru] [-Confirm] [-WhatIf] [<CommonParameters>]





DESCRIPTION

The Remove-AzureStorageTable cmdlet removes one or more storage tables from a storage account in Azure.





PARAMETERS

-Context <IStorageContext>

Specifies the Azure storage context. You can create it by using the New-AzureStorageContext cmdlet.



Required? false

Position? named

Default value None

Accept pipeline input? True (ByPropertyName, ByValue)

Accept wildcard characters? false



-Force [<SwitchParameter>]

Forces the command to run without asking for user confirmation.



Required? false

Position? named

Default value False

Accept pipeline input? False

Accept wildcard characters? false



-Name <String>

Specifies the name of the table to remove.



Required? true

Position? 0

Default value None

Accept pipeline input? True (ByPropertyName, ByValue)

Accept wildcard characters? false



-PassThru [<SwitchParameter>]

Indicates that this cmdlet returns a Boolean that reflects the success of the operation. By default, this cmdlet does not return a value.



Required? false

Position? named

Default value False

Accept pipeline input? False

Accept wildcard characters? false



-Confirm [<SwitchParameter>]

Prompts you for confirmation before running the cmdlet.



Required? false

Position? named

Default value False

Accept pipeline input? False

Accept wildcard characters? false



-WhatIf [<SwitchParameter>]

Shows what would happen if the cmdlet runs. The cmdlet is not run.



Required? false

Position? named

Default value False

Accept pipeline input? False

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

System.Boolean







NOTES









Example 1: Remove a table



PS C:\\>Remove-AzureStorageTable -Name "TableABC"



This command removes a table.





Example 2: Remove several tables



PS C:\\>Get-AzureStorageTable table* | Remove-AzureStorageTable



This example uses a wildcard character with the Name parameter to get all tables that match the pattern table and then passes the result on the

pipeline to remove the tables.







RELATED LINKS

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

Get-AzureStorageTable