Azure Local | PowerShell – Get Latest ISO image

Designer (20)
Reading Time: 2 minutes

Of course, you can log in to the Azure portal and manually browse for the latest ISO version, but why would you, when a simple PowerShell script can do the job for you? I often found myself repeatedly navigating through the portal to check for the most recent ISO under Azure Arc, and it quickly became tedious and time‑consuming.

To streamline this process, and admittedly because I prefer not to click through the portal every time, I created a lightweight PowerShell script that automatically retrieves the latest ISO for you. This eliminates the need for manual checks, reduces the chance of missing a new version, and makes the entire download process significantly more efficient.

The Script

The script is located on GitHub but here is a breakdown of it.

Parameters

The script is designed to be flexible, so you can tailor the download behavior to your environment and operational requirements:

ParameterTypeDefaultDescription
-DownloadPathStringCurrent directoryDirectory where the ISO will be downloaded
-MaxMonthsBackInteger12Maximum number of months to check backwards
-ForceSwitchFalseForces re-download even if file exists
-SkipVerificationSwitchFalseSkips file verification after download

How it works

URL Pattern

Microsoft releases Azure Local ISOs monthly using this URL pattern:
https://aka.ms/hcireleaseimage/YYMM

Where:

  • YY = Last 2 digits of the year (e.g., 25 for 2025)
  • MM = Two-digit month (e.g., 12 for December)

Examplehttps://aka.ms/hcireleaseimage/2512 = December 2025 release

Release Detection Logic

  1. Generates the current month’s release code (e.g., 2601 for January 2026)
  2. Checks if the URL is valid by:
    • Sending a lightweight request (only headers + first 8KB)
    • Verifying it doesn’t redirect to Bing search
    • Confirming it points to a Microsoft download URL
  3. If not found, falls back to the previous month
  4. Repeats until a valid release is found or max months reached

Download Methods

Windows (BITS):

  • Uses Background Intelligent Transfer Service
  • Supports automatic resume for interrupted downloads
  • Monitors for stalled downloads and auto-recovers
  • Best for large files on Windows

Non-Windows / BITS Fallback (HttpClient):

  • Streams content in 1MB chunks
  • Handles files larger than 2GB reliably
  • No memory overflow issues
  • Shows progress with speed and ETA

Output

========================================
Azure Local Release Downloader
========================================
Script version: 1.0
PowerShell version: 7.4.6
Current date: 2026-01-22 10:30:00
Current release code would be: 2601

========================================
Finding Latest Release
========================================
Searching for latest Azure Local release...
Checking up to 12 months back from current date

Checking January 2026 (code: 2601)... ✗ Not available
Checking December 2025 (code: 2512)... ✓ Found!

Latest release found:
Release: December 2025
Code: 2512
Short URL: https://aka.ms/hcireleaseimage/2512
Download URL: https://software-static.download.prss.microsoft.com/[...]

========================================
Downloading Azure Local ISO
========================================
Starting download...
Source: https://aka.ms/hcireleaseimage/2512
Destination: C:\ISOs\AzureLocal-2512.iso

Using BITS (Background Intelligent Transfer Service)
This supports resume for interrupted downloads

Downloading Azure Local ISO: 4.23 GB of 8.45 GB (50.06%) - 45.2 MB/s - ETA: 00:01:34

========================================
Download Complete
========================================
✓ Azure Local ISO downloaded successfully!
Release: December 2025 (2512)
Location: C:\ISOs\AzureLocal-2512.iso
Size: 8.45 GB

Next Steps:
1. Mount the ISO:
Mount-DiskImage -ImagePath 'C:\ISOs\AzureLocal-2512.iso'

2. Or create bootable media for installation

3. Follow Azure Local deployment guide:
https://learn.microsoft.com/azure/azure-stack/hci/deploy/deployment-quickstart

4. Check release notes for this version:
https://learn.microsoft.com/azure/azure-stack/hci/release-information

Share and Enjoy !

Shares
Designer (23)

Stay close to the action—follow GetToThe.Cloud across social!
Deep dives and hands‑on how‑tos on Azure Local, hybrid cloud, automation, PowerShell/Bicep, AVD + FSLogix, image pipelines, monitoring, networking, and resilient design when the internet/Azure is down.

🔗 Our channels
▶️ YouTube: https://www.youtube.com/channel/UCa33PgGdXt-Dr4w3Ub9hrdQ
💼 LinkedIn Group: https://www.linkedin.com/groups/9181126/
✖️ X (Twitter): https://x.com/Gettothecloud
🎵 TikTok: https://www.tiktok.com/@gettothecloud
🐙 GitHub: https://github.com/GetToThe-Cloud/Website
💬 Slack: DM us for an invite
📲 WhatsApp: DM for the community link

WP Twitter Auto Publish Powered By : XYZScripts.com
We use cookies to personalise content and ads, to provide social media features and to analyse our traffic. We also share information about your use of our site with our social media, advertising and analytics partners. View more
Cookies settings
Accept
Privacy & Cookie policy
Privacy & Cookies policy
Cookie name Active

Who we are

Our website address is: https://www.gettothe.cloud

Comments

When visitors leave comments on the site we collect the data shown in the comments form, and also the visitor’s IP address and browser user agent string to help spam detection. An anonymized string created from your email address (also called a hash) may be provided to the Gravatar service to see if you are using it. The Gravatar service privacy policy is available here: https://automattic.com/privacy/. After approval of your comment, your profile picture is visible to the public in the context of your comment.

Media

If you upload images to the website, you should avoid uploading images with embedded location data (EXIF GPS) included. Visitors to the website can download and extract any location data from images on the website.

Cookies

If you leave a comment on our site you may opt-in to saving your name, email address and website in cookies. These are for your convenience so that you do not have to fill in your details again when you leave another comment. These cookies will last for one year. If you visit our login page, we will set a temporary cookie to determine if your browser accepts cookies. This cookie contains no personal data and is discarded when you close your browser. When you log in, we will also set up several cookies to save your login information and your screen display choices. Login cookies last for two days, and screen options cookies last for a year. If you select "Remember Me", your login will persist for two weeks. If you log out of your account, the login cookies will be removed. If you edit or publish an article, an additional cookie will be saved in your browser. This cookie includes no personal data and simply indicates the post ID of the article you just edited. It expires after 1 day.

Embedded content from other websites

Articles on this site may include embedded content (e.g. videos, images, articles, etc.). Embedded content from other websites behaves in the exact same way as if the visitor has visited the other website. These websites may collect data about you, use cookies, embed additional third-party tracking, and monitor your interaction with that embedded content, including tracking your interaction with the embedded content if you have an account and are logged in to that website.

Who we share your data with

If you request a password reset, your IP address will be included in the reset email.

How long we retain your data

If you leave a comment, the comment and its metadata are retained indefinitely. This is so we can recognize and approve any follow-up comments automatically instead of holding them in a moderation queue. For users that register on our website (if any), we also store the personal information they provide in their user profile. All users can see, edit, or delete their personal information at any time (except they cannot change their username). Website administrators can also see and edit that information.

What rights you have over your data

If you have an account on this site, or have left comments, you can request to receive an exported file of the personal data we hold about you, including any data you have provided to us. You can also request that we erase any personal data we hold about you. This does not include any data we are obliged to keep for administrative, legal, or security purposes.

Where we send your data

Visitor comments may be checked through an automated spam detection service.
Save settings
Cookies settings