Monitor updates with PowerShell in Azure Stack Hub

Completed

You can use the Azure Stack Hub administrative endpoints to monitor and manage your updates. They're accessible with PowerShell.

You can use the following PowerShell cmdlets to manage your updates:

Cmdlet

Description

Get the list of available updates.

Get the list of update locations.

Get the list of update runs.

Apply a specific update at an update location.

Resumes a previously started update run that failed.

Get a list of update runs

To get the list of update runs, run the following command:

Get-AzsUpdateRun -UpdateName Microsoft1.0.180302.1

Resume a failed update operation

If the update fails, you can resume the update run where it left off by running the following command:

Get-AzsUpdateRun -Name 5173e9f4-3040-494f-b7a7-738a6331d55c -UpdateName Microsoft1.0.180305.1 | Resume-AzsUpdateRun