代码之家  ›  专栏  ›  技术社区  ›  Shubh Rocks Goel

Azure-如何通过powershell下载Azure资源组自动化脚本?

  •  0
  • Shubh Rocks Goel  · 技术社区  · 7 年前

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

    1 回复  |  直到 7 年前
        1
  •  0
  •   4c74356b41    7 年前

    您要查找的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