Remove-AzureStorageTable

拿掉記憶體數據表。

警告

自 2024 年 2 月 29 日起,AzureRM PowerShell 模組已正式淘汰。 建議使用者從 AzureRM 遷移至 Az PowerShell 模組,以確保持續支援和更新。

雖然 AzureRM 模組可能仍可運作,但不再維護或支援它,但會根據用戶的判斷權和風險放置任何繼續使用。 如需轉換至 Az 模組的指引,請參閱我們的 移轉資源

語法

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

Description

Remove-Azure 儲存體 Table Cmdlet 會從 Azure 中的記憶體帳戶中移除一或多個記憶體數據表。

範例

範例 1:移除數據表

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

此命令會移除資料表。

範例 2:移除數個數據表

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

此範例使用通配符搭配 Name 參數來取得符合模式數據表的所有資料表,然後在管線上傳遞結果以移除數據表。

參數

-Confirm

執行 Cmdlet 之前先提示您確認。

類型:SwitchParameter
別名:cf
Position:Named
預設值:False
必要:False
接受管線輸入:False
接受萬用字元:False

-Context

指定 Azure 記憶體內容。 您可以使用 New-Azure 儲存體 Context Cmdlet 來建立它。

類型:IStorageContext
Position:Named
預設值:None
必要:False
接受管線輸入:True
接受萬用字元:False

-DefaultProfile

用於與 Azure 通訊的認證、帳戶、租用戶和訂用帳戶。

類型:IAzureContextContainer
別名:AzureRmContext, AzureCredential
Position:Named
預設值:None
必要:False
接受管線輸入:False
接受萬用字元:False

-Force

強制命令執行,而不要求使用者確認。

類型:SwitchParameter
Position:Named
預設值:None
必要:False
接受管線輸入:False
接受萬用字元:False

-Name

指定要移除的數據表名稱。

類型:String
別名:N, Table
Position:0
預設值:None
必要:True
接受管線輸入:True
接受萬用字元:False

-PassThru

指出此 Cmdlet 會傳回 Boolean ,反映作業的成功。 根據預設,此 Cmdlet 不會傳回值。

類型:SwitchParameter
Position:Named
預設值:None
必要:False
接受管線輸入:False
接受萬用字元:False

-WhatIf

顯示執行 Cmdlet 後會發生的情況。 未執行 Cmdlet。

類型:SwitchParameter
別名:wi
Position:Named
預設值:False
必要:False
接受管線輸入:False
接受萬用字元:False

輸入

String

IStorageContext

輸出

Boolean