Azure Maintenance Configuration - how to get the exact time of the patching

Daniel Petovsky 5 Reputation points
2024-01-17T08:12:25.3933333+00:00

Azure Maintenance Configuration - how to get the exact time of the patching instead of calculating the values manually and set it fixed for the future or calculate via powershell when I have a start value of the patching and schedule repeat On the second Wednesday every 3 months. The plan is to have maintenance calendar that I want to create in Azure Dashboard

Azure Virtual Machines
Azure Virtual Machines
An Azure service that is used to provision Windows and Linux virtual machines.
7,146 questions
PowerShell
PowerShell
A family of Microsoft task automation and configuration management frameworks consisting of a command-line shell and associated scripting language.
2,071 questions
Azure Update Manager
Azure Update Manager
An Azure service to centrally manages updates and compliance at scale.
224 questions
{count} vote

1 answer

Sort by: Most helpful
  1. kobulloc-MSFT 23,491 Reputation points Microsoft Employee
    2024-01-18T18:37:54.7633333+00:00

    Hello, @Daniel Petovsky ! How would I get the exact time for Azure Maintenance Configuration?

    There is a minimum 1 hour and 30 minute maintenance window however you can set this in the portal, with Azure CLI using maintenance-window-recur-every and maintenance-window-start-date-time or Azure PowerShell using RecurEvery and StartDateTime .

    If this has already been set, you can retrieve this information in the portal, with Azure CLI by using az maintenance configuration show or with Azure PowerShell by using Az.Maintenance. User's image


    I hope this has been helpful! Your feedback is important so please take a moment to accept answers. If you still have questions, please let us know what is needed in the comments so the question can be answered. Thank you for helping to improve Microsoft Q&A! User's image