How to enable Azure Resource Graph in PowerShell and Azure CLI

The general availability of the Azure Resource Graph service was announced a few days ago. This service allows you to use queries to explore all your resources in Azure and...