Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 3 Current »

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

  1. Access to Azure CLI and PowerShell: Both tools must be installed and configured on your machine.

  2. Permissions to Access Resources: You must have appropriate permissions to access the resources in the subscription.

  3. 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

Deployment and Quick Setup Guide on Azure

\uD83D\uDCD8📖  Instructions

  1. Open up a PowerShell in the Azure portal.

  2. 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

  3. Once the compare tool is extracted. You will need to run the script. Simply type, “./compare.ps1” and the script will run

  4. 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

  • The output will display the differences between the two resources, helping you identify discrepancies between configurations.

  • No labels