Set shell variables from CLI output – Azure CLI

Learn how to get virtual machines (VM) information and store results in an Azure CLI shell variable.