Using Bash to Assign Variables from Command Output RRS feed

  • Question

  • I had this working then lost it do to failure to save combined with unscheduled reboot :(

    I just want to know the bash equivilent of "$rg = (Get-AzResourceGroup).ResourceGroupName" to set the rg variable to the resource group.

    Any help greatly appreciated!


    Wednesday, November 18, 2020 1:01 PM