By quickly identifying configuration differences in LHO deployments, this tool can help resolve issues faster when discrepancies in resources configurations causes unexpected problems. This script handles both Azure CLI and Azure PowerShell contexts
\uD83D\uDCD8 Prerequisites
Before using the script, ensure you have the following
Access to Azure CLI and PowerShell: Both tools must be installed and configured on your machine.
Permissions to Access Resources: You must have appropriate permissions to access the resources in the subscription.
Valid Subscription ID: Ensure you have the correct subscription ID or name where the resources are located
Open up a PowerShell in the Azure portal is simple. Please refer to Step 2 of
\uD83D\uDCD8📖 Instructions
Open up a PowerShell in the Azure portal.
Run the below code snippet to download the tool and unzip it
wget https://bplmdemoappstg.blob.core.windows.net/deployment/vm-azure/test/comparetool.zip unzip comparetool -d lho cd lho
Once the compare tool is extracted. You will need to run the script. Simply type, “./compare.ps1” and the script will run
The script now prompts to input the subscription name or id, and the 1st and 2nd resources to compare
Please enter the Subscription ID or Name: a9190ff-124141-f1341241-fafa Please enter the name of the first resource: mm-lho Please enter the name of the second resource: mm-lho-2
\uD83D\uDCCB Related articles
The output will display the differences between the two resources, helping you identify discrepancies between configurations.
Add Comment