使用 PowerShell 刪除 Azure 應用程式組態存放區
此範例指令碼會使用 PowerShell 刪除 Azure 應用程式組態的執行個體。
如果您沒有 Azure 訂用帳戶,請在開始之前先建立 Azure 免費帳戶。
若要執行範例指令碼,您需要 Azure PowerShell 的功能設定。
以系統管理員權限開啟 PowerShell 視窗,並且執行 Install-Module -Name Az
以安裝 Azure PowerShell
範例指令碼
# Delete an App Configuration store
Remove-AzAppConfigurationStore -Name <store-name> -ResourceGroupName <resource-group-name>
指令碼說明
此指令碼會使用下列命令來刪除應用程式組態存放區。 下表中的每個命令都會連結至命令特定的文件。
Command | 注意 |
---|---|
Remove-AzAppConfigurationStore | 刪除應用程式組態存放區 |
下一步
如需有關 Azure PowerShell 的詳細資訊,請參閱 Azure PowerShell 文件。
您可以在 Azure 應用程式組態 PowerShell 範例中找到更多適用於 PowerShell 的應用程式組態指令碼範例。