【问题标题】:Azure - How to download azure resource group automation script through powershell?Azure - 如何通过 powershell 下载 azure 资源组自动化脚本?
【发布时间】:2018-07-10 21:40:30
【问题描述】:

我想通过 PowerShell 下载 Azure 中资源组的自动化脚本。到目前为止,我知道如何通过 PowerShell 登录 Azure 并访问资源组,但我不知道如何访问资源组的设置。

【问题讨论】:

  • 欢迎。与其说“我不知道怎么做”,不如说“我试过这个,期待那个,得到了别的东西”,而是以一种包含支持它的代码的示范方式。

标签: powershell azure resources


【解决方案1】:

您要查找的 cmdlet 是 Export-AzureRmResourceGroup

提示,您可以使用get-command 寻找“想法”。像这样:

Get-Command -Module azurerm.resources

Get-Command -Module azurerm.resources -verb export

https://docs.microsoft.com/en-us/powershell/module/azurerm.resources/export-azurermresourcegroup?view=azurermps-5.2.0

【讨论】:

    猜你喜欢
    • 2022-09-27
    • 1970-01-01
    • 1970-01-01
    • 2018-10-31
    • 2018-04-01
    • 1970-01-01
    • 1970-01-01
    • 2022-11-10
    • 2021-08-27
    相关资源
    最近更新 更多