This Python script fetches and displays metadata for an Azure VM using Azure's Instance Metadata Service (IMDS).
- Fetches VM metadata including VM details, OS profile, VM compute, VM storage, and VM network.
- Displays the metadata in a visually appealing and organized manner in the console.
To download and run the script directly from GitHub, execute the following command:
curl -s https://raw.githubusercontent.com/samatild/azvmprofilefetcher/main/azurevmprofile.py | python3
- Python 3.x