azure VM patching using powershell script Update management center

Azuretech 90 Reputation points
2023-02-27T06:56:02.0666667+00:00

we have to patch multiple azure VM parallelly using updatemanagment center.

we are trying to use below https://learn.microsoft.com/en-us/azure/update-center/manage-vms-programmatically?tabs=cli%2Cazurepowershell

if we use one time update , then it will first complete patch on one vm then apply in others. if any vm take more then 1 hour then powershell script (running on azure automation runbook) will take lot of time.

next approach ,If i select schedule , then there is no option to create one time schedule . Please let us know what is the best way to patch multiple VMS using update management center using programmatically (powershell based runbook)

Azure Automation
Azure Automation
An Azure service that is used to automate, configure, and install updates across hybrid environments.
1,129 questions
Windows Server PowerShell
Windows Server PowerShell
Windows Server: A family of Microsoft server operating systems that support enterprise-level management, data storage, applications, and communications.PowerShell: A family of Microsoft task automation and configuration management frameworks consisting of a command-line shell and associated scripting language.
5,383 questions
PowerShell
PowerShell
A family of Microsoft task automation and configuration management frameworks consisting of a command-line shell and associated scripting language.
2,089 questions
Azure Update Manager
Azure Update Manager
An Azure service to centrally manages updates and compliance at scale.
226 questions
{count} votes