Skip to main content
  1. Posts/

Updating your AzureStack? Make sure you don't miss any steps!

·318 words·2 mins
Table of Contents

AzureStack is a fantastic appliance, with a massively simplified patch and lifecycle policy thanks to a lot of hard work from Microsoft and the OEMs delivering it. But even with all that, to ensure the best experience when updating AzureStack, you should always apply the available hotfixes in-between updates.

At some point, you may find you’ve fallen more than one update behind and need to catch up. Finding all the right hotfixes and updates requires reading each of the release notes for prerequisites. Or maybe you just want to double check there are no hotfixes you’ve missed since the last time you updated.

To save time and simplify the process, I’ve put together a Powershell function that can show you all the available updates for your release or specific version, including prerequisites.

Bring on the Powershell
#

Find-AzSAvailableUpdate is designed to be a simple to use, whether you want to find out the latest update, or what updates you need to get there.

Simple output of Find-AzSAvailableUpdate showing Latest Version

Available Parameters
#

  • Version: Supply a specific version in the 1.1906.0.30 format, OR
  • Release: Supply a release number in the 1906 format
  • LatestOnly: Switch that returns the latest update details
  • SimpleOutput: Returns results in a string rather than an object.

Examples
#

Find-AzSAvailableUpdate -Version 1.1907.12.44

This will query for updates to the specific version 1.1907.12.44 and return the results as an array of powershell objects.

Shows Find-AzSAvailableUpdate Example output
Find-AzSAvailableUpdate -Release 1807 | ft -au<

This will look for all updates since AzureStack 1807 was originally released, and display them in a formatted table.

Example of Find-AzSAvailableUpdate Version Output
Find-AzSAvailableUpdate -Release 1907 -SimpleOutput

This will return the results as a simplified string, showing the update versions that need to be applied.

So how do you get this Powershell function? Github of course! This copy will be maintained with future improvements and fixes.

If you run into any issues, or just want to share how you’re making use of this function, leave a comment below

Ben Thomas
Author
Ben Thomas

Ben Thomas is a Senior Solutions Engineer at Veeam with a deep passion for community, virtualization, and cloud technologies.

Prior to joining Veeam, he spent over 13 years at Datacom, where he progressed from the service desk to a senior advisory role specializing in Hybrid and Private Cloud solutions. His long-standing contributions to the tech community have been recognized with both the Microsoft MVP and Veeam Vanguard awards.

It was his passion as a Vanguard that ultimately led him to his role at Veeam, allowing him to work on the technology he advocates for every day. This blog is where Ben shares his hands-on experiences and real-world solutions from his work and home lab.

Related

Testing DFS Replication with Powershell

·780 words·4 mins
Monitoring DFS-R can be difficult. This PowerShell script creates a test file, waits for it to replicate to partner servers, and reports success or failure—with dynamic discovery of replication groups and folders.