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

Daniel Petovsky 10 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.
9,046 questions
Windows for business | Windows Server | User experience | PowerShell
Azure Update Manager
Azure Update Manager
An Azure service to centrally manages updates and compliance at scale.
376 questions
{count} votes

1 answer

Sort by: Most helpful
  1. kobulloc-MSFT 26,811 Reputation points Microsoft Employee Moderator
    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


Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.